Greetings
the following simple one line batch file used to run in Windows XP
fsort.bat
sort %1 /o %~ns.%~x
fsort list.txt would sort the text file list.txt and put the result in lists.txt
now it doesn't run.
it seems that windows 7 doesn't handle parameters like %~n and %~x
What do I do instead?
Where can I find the do's and do not's of batch file in windows 7?
(in xp I used the help. now when I search for batch I get nonsense)
please help
the following simple one line batch file used to run in Windows XP
fsort.bat
sort %1 /o %~ns.%~x
fsort list.txt would sort the text file list.txt and put the result in lists.txt
now it doesn't run.
it seems that windows 7 doesn't handle parameters like %~n and %~x
What do I do instead?
Where can I find the do's and do not's of batch file in windows 7?
(in xp I used the help. now when I search for batch I get nonsense)
please help
My Computer
- Computer type
- PC/Desktop
- OS
- Windows 7 Ultimate x64