0

I am using Intel Trace Collector from Intel® Parallel Studio XE for Windows.

I am at a step where environment variables need to be set up. The user manual on page 9 says to set up the environment variables. It says this can be done by running the psxevars.bat script. I did so and am getting the error "The system cannot find the file specified." By inspecting the .bat file, I found the file it cannot find. However, that file is located exactly where it is looking. Also, if I copy the line from the .bat file that is referencing the file in question, and paste it in the command prompt, the line runs fine.

Has anyone run into this problem? Thanks in advance.

  • 1
    Run the bat as administrator by right clicking on it. – Moab May 15 at 23:05
  • @Moab I have two questions. 1. Will I be able to add a parameter if I do it that way? 2. The command prompt I am using says Administrator at the top right. Is running the bat using a command line in that prompt the same as right clicking and running as administrator? Just mentioning again - the file can be found when typing the code in the command prompt, but not when running the bat in the command prompt. – Rish May 16 at 12:13
  • Yes to both questions – Moab May 16 at 15:50
  • 1
    I figured out the problem, the a line in bat file was pointing to a non existent path. – Rish May 20 at 1:43

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.