my command is in a batch file.It is- for /f %%i in (D:\Storage\Links\Control Panel\Restore\erase.txt) do @erase %%i- I have a list of destinations for deletion in "erase.txt".1 question is how can I get this same batch file to do more than 1 command in the same .txt file.How it is now all items in erase.txt would follow the Erase command.Problem is I want to have only 1 batch file and 1 .txt file with different commands.Second problem is how in the world do you use spaces in the txt file.for example:Control Panel has 1 space.Apparently using " at beginning and end of command doesnt work.I tried putting all names in DOS form but it seems some names of directories dont have a dos form.Kinda odd,its seems only newer files dont have one even after reboot.Im also having the same problem with the batch file destination- D:\Storage\Links\Control Panel\Restore\erase.txt-spaces wont work and cant use "" so how can I do this when some names have no DOS form. Thanks alot if you can help
2007-01-16
13:12:44
·
3 answers
·
asked by
Anonymous
in
Computers & Internet
➔ Software