Sign in to follow this  
Followers 0
Guest Calimero

Usb-stickdelete/dissaper

6 posts in this topic

i need an script that remove my usb stick by closing thes program by the "close" button

http://home.arcor.de/twinmos.support/error.JPG

as best with a winwaituntilyoupushtheclosebutton order

then use the "hardware reliably remove" function

thx

Share this post


Link to post
Share on other sites



i need a befehl like

_UnMount($var[$i])

oder

_UnMount("H:")

un need a script to unmount my usbstick

Share this post


Link to post
Share on other sites

thx but that goes only with folders not with usb-sticks/removable devices

but thx

Share this post


Link to post
Share on other sites

#5 ·  Posted (edited)

Hi

I need this too. Is there any solution already?

If so, please post link, I searched forum, but no luck.

Thanks

EDIT: What about MCI device and commands? Any ideas?

Edited by Zedna

Share this post


Link to post
Share on other sites

#6 ·  Posted (edited)

i need an script that remove my usb stick by closing thes program by the "close" button

http://home.arcor.de/twinmos.support/error.JPG

as best with a winwaituntilyoupushtheclosebutton order

then use the "hardware reliably remove" function

thx

<{POST_SNAPBACK}>

well the 'winwaituntilyoupushtheclosebutton' function could be like this...

Opt("WinTitleMatchMode",4)
func winwaituntilyoupushtheclosebutton()
while NOT WinExists("I'm some portion of the title of the window we want to wait for to disappear.  replace me","")
sleep(1000)
wend
DriveMapDel( "H:" );this may work?
EndFunc

***edit***

must have had my helmet on too tight, first code was all retarded... i think i fixed it...

Edited by cameronsdad

1100111 00001011101111 00011101101111 00010111100100 00001111110100 00110111110010 00101101111001 0011100i didn't make up this form of encryption, but i like it.credit to the lvl 6 challenge on arcanum.co.nz

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0