
Contributor III
2018-11-20
01:07 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
execute cmd delete from script
Hello Everyone,
The excel file needs to be deleted from the share path , so I am writing the execute command. But file is not getting deleted .
This is the execute command
EXECUTE cmd.exe /C Del "\\SESKWQVPPD01\QlikView\SourceDocs\Otif\PreProduction\1_Source_Data\RCA\$(vFile).xls";
Can anyone please suggest me what is wrong & what is the syntax for execute command to delete the excel file from the script
Thanks - Sriram
- Tags:
- qlikview_scripting
2,497 Views
6 Replies

Contributor III
2018-11-20
01:34 AM
Author
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Can any one please help me on this delete file from a folder
2,488 Views


Specialist
2018-11-20
01:50 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Check if your variable is populating correctly.
if not then try to break the path, file name and file extension, this should work.
2,480 Views

Contributor III
2018-11-20
02:13 AM
Author
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Even When I tried to delete excel file from my local system , I am getting following error
EXECUTE cmd.exe/C Del "C:\Users\kglt280\Documents\requirements_2\New folder (8)\Vietnam RCA Template.xlsx";
Can anyone please help me on this on how to resolve the error ?
Please suggest
EXECUTE cmd.exe/C Del "C:\Users\kglt280\Documents\requirements_2\New folder (8)\Vietnam RCA Template.xlsx";
Can anyone please help me on this on how to resolve the error ?
Please suggest
2,472 Views


Specialist
2018-11-20
02:19 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
check if you had read write permission on the folder you are performing action
2,467 Views

Contributor III
2018-11-20
03:31 AM
Author
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Will execute command work in QV version 12 ? I am unable to perform the delete the file using execute command in version 12 .
The Cmd.exe/C Del "\\ file name" works properly in CMD .
Please suggest
The Cmd.exe/C Del "\\ file name" works properly in CMD .
Please suggest
2,462 Views


Specialist
2018-11-20
04:48 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
check if below setting are enables in your system
2,457 Views
