Skip to main content

All Questions

Tagged with
0 votes
2 answers
3k views

How to run scheduled task for the batch with 2 parameters?

I have a batch file which I need to run every 15 min. When I click twice on the batch I: Need to enter the name of test to run and It is always Scripttest.jmx, like this: Need to enter y in this SS: ...
Inna Shnaiderman's user avatar
3 votes
3 answers
5k views

What's a correct way for a batch file to run itself with params?

I have a batch file. In which, I need to start another copy of itself in a new window with a parameter. I tried the command start "" "%~0" "Param" but it said '"Param"' is not recognized as an ...
Mark Deven's user avatar
  • 1,660
1 vote
2 answers
31k views

Change Directory in Windows Batch Script

Based on some other answers I found, I can loop through available drive labels. However, I can't seem to change to that drive: for /f "skip=1 delims=" %%x in ('wmic logicaldisk get caption') do ( %%x ...
user avatar
1 vote
3 answers
6k views

How to receive a parameter in a batch file

I have asked a question, Use an environment variable to point to an "Open With" program, which received a fantastic answer. To add myapp.exe, residing in %MYAPPSDIR%, to the Open With ...
sancho.s ReinstateMonicaCellio's user avatar