This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
public:unc [2017/03/13 15:50] yuk.cheng [ISSUE:“CMD.EXE was started with the above path as the current directory. UNC paths are not supported. Defaulting to Windows directory.” when running a Windows batch file as a pre or post command from a network drive (5233)] |
public:unc [2021/12/21 08:43] (current) anna.olalia |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | =====ISSUE:“CMD.EXE was started with the above path as the current directory. UNC paths are not supported. Defaulting to Windows directory.” when running a Windows batch file as a pre or post command from a network drive (5233) ===== | + | =====[V7] ISSUE:“CMD.EXE was started with the above path as the current directory. UNC paths are not supported. Defaulting to Windows directory.” when running a Windows batch file as a pre or post command from a network drive (5233) ===== |
^ Article ID ^ Reviewed ^ AhsayOBM/AhsayACB ^ Operating System ^ | ^ Article ID ^ Reviewed ^ AhsayOBM/AhsayACB ^ Operating System ^ | ||
- | | 5233 | 10/03/2017 | 7.3.0.0 or above | Windows | | + | | 5233 | 2017-03-10 | 7.3.0.0 to 7.x | Windows | |
+ | |||
+ | <html> | ||
+ | <FONT COLOR=red SIZE=+1> | ||
+ | <B>ATTENTION</B> | ||
+ | 1st January, 2022: v7 officially End-of-Life [<A HREF=https://wiki.ahsay.com/doku.php?id=public:announcement:ahsay_v7_eol>details</A>] | ||
+ | </FONT> | ||
+ | </html> | ||
===== Problem Description: ===== | ===== Problem Description: ===== | ||
Line 38: | Line 45: | ||
**Batch file :** \\192.168.22.41\Production\current\shutdown_database.bat | **Batch file :** \\192.168.22.41\Production\current\shutdown_database.bat | ||
- | 1. Create an batch file and save on local machine to execute the batch file on UNC path or network drive. | + | 1. Create a batch file and save on a local machine to execute the batch file on UNC path or network drive. |
2. Call the local batch file (localbatch.bat) in the pre or post command in AhsayOBM/AhsayACB. | 2. Call the local batch file (localbatch.bat) in the pre or post command in AhsayOBM/AhsayACB. |