Home > OS >  With tasks and planning process launched the script, the script to start the program A.e xe, A.e xe
With tasks and planning process launched the script, the script to start the program A.e xe, A.e xe

Time:10-13

General situation is such, I am. Bat script launched A.e xe this application, the program needs to use the disk mapping (Y) in the file, in this case, the program is always can't find the asking price, but I have performed manually. Bat can be found, this kind of circumstance how to deal with, on the Internet to find a circle and feel you did not come across such a problem, ask questions here, hope to have a great god help me some solution, thanks.

CodePudding user response:

Is relative path, the problem of absolute path?

CodePudding user response:

In the program file path using absolute path to the next

CodePudding user response:

refer to the original poster rentingting0312 response:
general situation is such, I am. Bat script launched A.e xe this application, the program needs to use the disk mapping (Y) in the file, in this case, the program is always can't find the asking price, but I have performed manually. Bat can be found, this kind of circumstance how to deal with, on the Internet to find a circle and feel you did not come across such a problem, ask questions here, hope to have help to offer a solution to the great god, thank you,


First run the program task, want to have access to the network,
Second, in the bat to use net use command to mapped drives,

Oneself can debug this: net use & gt; "& lt; Yourpath> \ log. TXT "
Will see a network drive is disconnected,

Net use to connect to the domain authentication (kbr5), non NTLM is to clear the password,

Also recommended directly using the UNC path is better than the mapped drive, can avoid different machines have different mapping case,
\ \ & lt; Server> \ share \ folder
\ \ & lt; Ip> \ share2 \ folder3


  • Related