Jump to content

Command Prompt Command Create .bat file

5 minutes ago, OhioYJ said:

Create one in anything, typically I just use notepad, or notepad++, save it as a .bat.

 

What do i need to type in Notepad?

 

C:\Temp\platform-tools>gnirehtet run

 

or

 

cd C:\Temp\platform-tools>gnirehtet run  ?

Link to post
Share on other sites

7 minutes ago, Slo2025 said:

 

What do i need to type in Notepad?

 

C:\Temp\platform-tools>gnirehtet run

 

or

 

cd C:\Temp\platform-tools>gnirehtet run  ?

Oh I get it you want to run that from a bat file? It wasn't clear from your post.

 

You likely will need to give it an absolute path, and windows does not like spaces, so you need to put it in quotes. 

 

"C:\Temp\platform-tools\gnirehtet run"

 

You can test this by just putting that line directly into the terminal and seeing if it works.  If it does, it will work in a bat file. 

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×