Scripts Thread, Permission Denied When Delete folder in Coding and Web Development; Hi guys,
I create a folder name "Test" in E driver and create a Jscript in it. Below are the ...
19th June 2012, 08:57 AM #1
- Rep Power
Permission Denied When Delete folder
I create a folder name "Test" in E driver and create a Jscript in it. Below are the script code:
Shell = new ActiveXObject('WScript.Shell');
fso = new ActiveXObject('Scripting.FileSystemObject');
Shell.Popup('Uninstall Success.', 0, 'Info', 0 | 64);
An "Permission Denied" error occur when I run above script because when the script try to delete the folder, the folder is in used by the script itself. Please help ,thx.
Last edited by rertrt; 19th June 2012 at 11:03 AM.
IDG Tech News
By NetworkGeezer in forum Coding
Last Post: 2nd September 2011, 06:10 PM
By Zoom7000 in forum Windows
Last Post: 5th December 2007, 11:33 AM
By sidewinder in forum Mac
Last Post: 19th September 2007, 03:02 PM
By projector1 in forum Wireless Networks
Last Post: 14th February 2007, 01:46 PM
Last Post: 21st January 2007, 03:51 PM
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)