Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
avastani
Partner - Creator III
Partner - Creator III

EXECUTE cmd.exe /C mkdir -p "\\networkfolder"

has anyone had success creating folders on network drives via UNC or mapped drives?

I have v11.2 SR13 and v12Sr1 and no luck in either.

I tried the vQuotes = ""; as well as enabled Admin Override Security have Give System Access when I refresh from desktop.

No success.

works fine from .bat file, directly on command prompt and even Windows Explorer but not otherwise in QV Desktop

1 Reply
marcus_sommer

In general mkdir per execute worked: Re: Is it possible to create a batch file in the Qlikview Script. maybe it's helpful to create a complete statement as string to execute them and to log the answer of the execution, like in this statement:

LET vExecString = 'cmd.exe /c XCOPY $(vFromDir)$(vFileToCopy) $(vToDir) /Y/Z/F >>  ' & '$(vLogFileName)';

EXECUTE $(vExecString);

from: Re: Question regarding EXECUTE cmd.exe.

- Marcus