If the user passes a file into a batch file... how would it be possible to shave off the file extension?
For example, if the user went "runme.bat compileme.asm"
How would it be possible to get just compileme from %1?
Printable View
If the user passes a file into a batch file... how would it be possible to shave off the file extension?
For example, if the user went "runme.bat compileme.asm"
How would it be possible to get just compileme from %1?
What about creating a second argument %2 and passing just the name in that one.
Nahh, don't worry. I found it.
This was most helpful =).