windows - trying to run a .bat that runs an .exe from a mapped drive or share and have file not found -


I'm not sure what I'm doing.

I have a file share that is fileser01 . I placed my exe which is \\ fileser01 \\ software in hp.exe. I can map the drive to this command:

  net usage f: \\ fileser01 \\ software / user: domain \ myaccount  

drive therefore As the show f: .

In the .bat file I have start "f: \" hp.exe but it says that this file. What am I doing wrong? I also try to run a VBS and it says that I can not find the file.

I tried "f:" I found it in another folder of software in the media Tried to put in "f: \ media" and still the same problem.

Your question includes your batch files:

  start No, it will not work:  
  "window title" "f: \ hp. Exe "Start  

or it:

  Start f: \ hp.exe  

between quotation marks Any additional space should not include the entire file name and in this case you can also leave the quotation marks because the file There is no empty space in the name and path, in this case you can also cancel the window title.


Comments

Popular posts from this blog

ios - How do I use CFArrayRef in Swift? -

eclipse plugin - Run java code error: Workspace is closed -

c - Error on building source code in VC 6 -