in reply to How to move perl process on Windows to another server

Please edit your question with the relevant lines of code that are causing the error, along with the resulting Windows command line string that's being executed.

Put all of that within <code></code> tags.

Replies are listed 'Best First'.
Re^2: How to move perl process on Windows to another server
by digioleg54 (Novice) on Jun 09, 2016 at 21:13 UTC
    The problem is that I have no code. I am looking for solution to make a code. May be you can link me to website, where I can read about this technic or you have a code/command, that does it. Thanks, Oleg
      The problem is that I have no code.

      But in the OP you said:

      I have a Perl program on my local machine and it always shows the error

      If you're asking for help on that problem, then you'll need to show code that reproduces the problem, the exact error message, etc.

      If you're instead asking a conceptual question, you'll need to provide more details. What OS exactly, what this "queue" is, what you want to accomplish, etc.

        $exe_dir=\\\\nyadpfi\\pfi\\report (which is UNC path format)

        my $executable_1 = $exe_dir."\\Compute5.exe"; my $executable_2 = $exe_dir."\\Engine.exe"; my $executable_3 = $exe_dir."\\Engtoacc.exe"; my $executable_4 = $exe_dir."\\Listvj.exe";

        Then we run it:

        Running IJ 4 of 4:\\nyadpfi\pfi\report\Listvj.exe \\nyadpfi\pfidata\IJ +.682.ICEI. 94zfvVoehcqG8.NY10T44.20160609.prm -i:\\nyadpfi\pfi\core\pam_unc.ini

        \\nynas1\nynds4\vol2\DATA\INVACCT\Fund_Recs_PFI' is output dir. and the error message is:

        '\\nynas1\nynds4\vol2\DATA\INVACCT\Fund_Recs_PFI' CMD.EXE was started with the above path as the current directory. UNC paths are not supported. Defaulting to Windows directory. The syntax of the command is incorrect.

        I think we have to make if as:

        G:\\INVACCT\\Fund_Recs_PFI'

        Please advise

        Thanks,

        Oleg