+ Post New Thread
Results 1 to 1 of 1
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 ...
  1. #1

    Join Date
    Jun 2012
    Thank Post
    Thanked 0 Times in 0 Posts
    Rep Power

    Permission Denied When Delete folder

    Hi guys,
    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 10:03 AM.

+ Post New Thread

Similar Threads

  1. FileSystemObject Folder why permission denied
    By NetworkGeezer in forum Coding
    Replies: 16
    Last Post: 2nd September 2011, 05:10 PM
  2. Resetting Permissions for Student Home Folders
    By Zoom7000 in forum Windows
    Replies: 11
    Last Post: 5th December 2007, 10:33 AM
  3. Replies: 0
    Last Post: 19th September 2007, 02:02 PM
  4. Permission set on redirected folder not applying (GPO issue)
    By projector1 in forum Wireless Networks
    Replies: 3
    Last Post: 14th February 2007, 12:46 PM
  5. Replies: 1
    Last Post: 21st January 2007, 02:51 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts