Batch File Cannot Move/delete Folder In C:\

Discussion in 'General Software' started by Emily185, Nov 11, 2016.

  1. Emily185

    Emily185 Geek Trainee

    Likes Received:
    0
    Trophy Points:
    1
    I have this .bat file that helps me with routine maintenance tasks on my Windows XP PC. One new task I have been trying to add to the script these past couple of days is however not working.

    What I am trying to do is MOVE one folder and all it's contents to another folder.
    For example, I want the script to MOVE C:\files\bz TO C:\WINDOWS\Temp\files\bz, where C:\files\bz is a directory or folder.

    Since I created this folder, I am able to MOVE and/or DELETE this folder via the command line with no problems. But trying to do the same with a script is proving to be an impossible task.
    latest ringtones
    I am certain this is a "permission" problem because this same script can MOVE or DELETE folders on other drives, other than C:.

    If my Windows logon username/account has all the necessary permissions for managing this folder, how do I maintain the same permissions for the script and when it is run? You know, like running a script in Linux as root?
    zedge ringtones, popular ringtones
     
    Last edited: Jan 3, 2017

Share This Page