UNC paths are not supported

Posted on 2007-07-26
Last Modified: 2008-01-09
When I run a Perl script on command line, I got the following outputs in console window:

CMD.EXE was started with '\\server\archiveFolder' as the current directory path.  UNC paths
are not supported.  Defaulting to Windows directory.

But the job done by the script, I want to know why the job was not affected even though there are complains shown up. Can I ignore it? What should I do if I cannot ignore it?

Question by:yc_yc
    LVL 17

    Expert Comment

    See  What version of Windows are you using?  Are all service packs installed?

    Author Comment

    It is window 2000. What service pack should be installed?
    I saw the info within your email link when I was searching in google.
    I want to understand if I ignore it, what problem might be caused since the script can be run finely?

    LVL 66

    Accepted Solution

    No adverse effects, as long as the scriupt runs fine. CMD.EXE will always default to your local system drive, if launched from a UNC path. So if the batch file is located on \\server\share, try mapping a drive letter X to \\server\share\ and it should launch ok, with no errors...


    Featured Post

    Why You Should Analyze Threat Actor TTPs

    After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

    Join & Write a Comment

    Several part series to implement Internet Explorer 11 Enterprise Mode
    Today, still in the boom of Apple, PC's and products, nearly 50% of the computer users use Windows as graphical operating systems. If you are among those users who love windows, but are grappling to keep the system's hard drive optimized, then you s…
    As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
    Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

    745 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    17 Experts available now in Live!

    Get 1:1 Help Now