If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
I want to make a temporary drive
I want to make a temporary drive from the folder c:\tempdrive
I also want a batchfile (dels.bat) that will delete everything in the temporary folder (drive). http://www.tomshardware.com/forum/99...oexec-startup#. http://stackoverflow.com/questions/1...prompt-in-wind I was reading this and I thought I would just ask directly. Since I use this computer for P2P, I don't want to reboot it yet. I issued the command "subst s: c:\tempdrive" from a command prompt and it made the drive s:. I also put the instruction in autoexec.nt in the root directory of c: so autoexec.nt and dels.bat a subst s: c:\tempdrive s: FOR /D %%p IN (s:\) DO rmdir "%%p" /s /q This seems to work in the batch file. Is there any reason it won't work in the autoexec.nt next time I reboot? Also a Winrar question.......Can I add a command to the right click menu to extract a rar file to s:\ ? |
Ads |
Thread Tools | |
Display Modes | |
|
|