In case you missed the announcement: Alteryx One is here, and so is the Spring Release! Learn more about these new and exciting releases here!

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.

Run Command Prompt from Z drive

chris4987
7 - Meteor

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!

2 REPLIES 2
markcurry
12 - Quasar

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.

danilang
19 - Altair
19 - Altair

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

Labels
Top Solution Authors