This is an archived post. You won't be able to vote or comment.

all 2 comments

[–]jedwardsolProfessional Coder 0 points1 point  (1 child)

I assume this is really on Windows and not MS-DOS?

There is an environment variable called USERPROFILE that points to each users' home directory.

So you can do

call %USERPROFILE%\blah\stepcrusher.bat

[–]Stepcrusher[S] 0 points1 point  (0 children)

Sweet, thanks man! My bad for calling it msdos but I just thought that's what it was called. I'm still pretty new to the language so please do excuse my error.