DOS command
Moderator: Rathinagiri
- serge_girard
- Posts: 3309
- Joined: Sun Nov 25, 2012 2:44 pm
- DBs Used: 1 MySQL - MariaDB
2 DBF - Location: Belgium
- Contact:
DOS command
Hello,
Does anybody know if there is some DOS command in order to 'safely remove hardware and eject media'.
Under Notification Area, choose Select which icons appear on the taskbar. Scroll to Windows Explorer: Safely Remove Hardware and Eject Media and turn it on.
I did a search on google 'windows 10 safely remove hardware and eject media' but nothing matches my needs...
Serge
Does anybody know if there is some DOS command in order to 'safely remove hardware and eject media'.
Under Notification Area, choose Select which icons appear on the taskbar. Scroll to Windows Explorer: Safely Remove Hardware and Eject Media and turn it on.
I did a search on google 'windows 10 safely remove hardware and eject media' but nothing matches my needs...
Serge
There's nothing you can do that can't be done...
- AUGE_OHR
- Posts: 2093
- Joined: Sun Aug 25, 2019 3:12 pm
- DBs Used: DBF, PostgreSQL, MySQL, SQLite
- Location: Hamburg, Germany
Re: DOS command
hi,
i have build a Tool to "eject" USB-Stick
i have build a Tool to "eject" USB-Stick
- Attachments
-
- USBEJECT.ZIP
- (1.5 MiB) Downloaded 152 times
have fun
Jimmy
Jimmy
Re: DOS command
Saludos:
Depende del escenario, si quieres expulsar una USB que sera siempre la misma, por ejemplo: alguna memoría que utilizan para respaldar datos. O por el contrario, quieres desconectar cualquier memoría USB que se conecte al dispositivo. Tambien existe la posibilidad de que tengas varias unidades conectadas y solo una en particular es la que requieres desconectar.
Encontre un par de opciones, te comparto los link:
1.
https://learn.microsoft.com/es-es/windo ... s/mountvol
https://www.youtube.com/watch?v=L-lVdoPDVZ0
2.
https://spanish.getusb.info/expulsar-la ... r-version/
https://www.getusb.info/eject-usb-flash ... y-version/
Depende del escenario, si quieres expulsar una USB que sera siempre la misma, por ejemplo: alguna memoría que utilizan para respaldar datos. O por el contrario, quieres desconectar cualquier memoría USB que se conecte al dispositivo. Tambien existe la posibilidad de que tengas varias unidades conectadas y solo una en particular es la que requieres desconectar.
Encontre un par de opciones, te comparto los link:
1.
https://learn.microsoft.com/es-es/windo ... s/mountvol
https://www.youtube.com/watch?v=L-lVdoPDVZ0
2.
https://spanish.getusb.info/expulsar-la ... r-version/
https://www.getusb.info/eject-usb-flash ... y-version/
- serge_girard
- Posts: 3309
- Joined: Sun Nov 25, 2012 2:44 pm
- DBs Used: 1 MySQL - MariaDB
2 DBF - Location: Belgium
- Contact:
Re: DOS command
Thanks all!
I will look at it in the days coming.
Serge
I will look at it in the days coming.
Serge
There's nothing you can do that can't be done...
- serge_girard
- Posts: 3309
- Joined: Sun Nov 25, 2012 2:44 pm
- DBs Used: 1 MySQL - MariaDB
2 DBF - Location: Belgium
- Contact:
Re: DOS command
Jimmy,
OS.CH is missing while compiling....
OS.CH is missing while compiling....
There's nothing you can do that can't be done...
- AUGE_OHR
- Posts: 2093
- Joined: Sun Aug 25, 2019 3:12 pm
- DBs Used: DBF, PostgreSQL, MySQL, SQLite
- Location: Hamburg, Germany
Re: DOS command
hi,
but it is not need in Sample so please also delete it and line
you are right, it s from Xbase++
but it is not need in Sample so please also delete it and line
Code: Select all
LOCAL nVersion := VAL( OS( OS_VERSION ) )
have fun
Jimmy
Jimmy
- serge_girard
- Posts: 3309
- Joined: Sun Nov 25, 2012 2:44 pm
- DBs Used: 1 MySQL - MariaDB
2 DBF - Location: Belgium
- Contact:
- AUGE_OHR
- Posts: 2093
- Joined: Sun Aug 25, 2019 3:12 pm
- DBs Used: DBF, PostgreSQL, MySQL, SQLite
- Location: Hamburg, Germany
Re: DOS command
hi Serge,
try for DLL.DH :
sorry, it is also from Xbase++
try for DLL.DH :
Code: Select all
// Konstanten der Aufrufkonventionen
#define DLL_SYSTEM 4
#define DLL_CDECL 8
#define DLL_STDCALL 32
#define DLL_XPPCALL 128
#ifdef __OS2__
#define DLL_OSAPI DLL_SYSTEM
#else
#define DLL_OSAPI DLL_STDCALL
#endif
have fun
Jimmy
Jimmy
- serge_girard
- Posts: 3309
- Joined: Sun Nov 25, 2012 2:44 pm
- DBs Used: 1 MySQL - MariaDB
2 DBF - Location: Belgium
- Contact:
Re: DOS command
Thanks! Now it works and so I can loof for my needs!
Serge
Serge
There's nothing you can do that can't be done...