Run Command Prompt from Z drive
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi! I am trying to open and run a command in Command Prompt. What should happen:
1) Open Command Prompt
2) window opens saying:
Microsoft Windows [Version 10.0.18363.1621]
(c) 2019 Microsoft Corporation. All rights reserved.
Z:\> abc zyx -| "def=954" -g "_hi jk data"
3) Command Prompt runs
What is currently happening instead:
1) Open Command Prompt
2) window opens saying:
'\\ab1cd.ef.gh.com\ijk\home\desktop\lmnop'
Cmd.exe was started with the above path as the current directory. UNC paths are not supported. Defaulting to Windows directory.
Any help in updating the directory from C: to Z: would be greatly appreciated!
- Labels:
- Run Command
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi @chris4987
To start from the Z: drive, you can either change the input into the Run Command tool to include a line to open the Z: (like in the attached workflow), or you set the working directory in the tool configuration to Z:\
The Command window can flash up and close, so it can be hard to see what's happening, so I'd often include a pause command at the end, which will keep the command prompt window open. Hope that helps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi @chris4987
Once the command prompt opens, try typing in "z:" (don't include the quotes) to switch to your Z: drive. Talk to your IT department about why your command prompts open with a UNC path as the working directory instead of a drive letter
Dan
