Reply to Message

View discussion in a popup

Replying to:
Jubish-Jose
Hot Shot
Hot Shot

Thanks (again) @DEMdev for taking time to reply.

Okay, this is what I am trying to do. 

There is an existing folder C:\ProgramData\Application\abc\ and I am trying to replace the folder with C:\ProgramData\Application\xyz\. I am using XCOPY to forcefully replace the folder. I also tried RMDIR to remove the folder abc completely and copy the new folder xyz with XCOPY.

The logs say that the shortcut is created, but is there a way I can check if that is actually created, since it comes under ProgramFiles > StartUp? 

The folder C:\ProgramData\Application\abc\ needs admin privileges to replace it. If we manually run the script, it will work only if we run it with admin privileges. So that means it's clearly a permission issue. I am aware of the solution where we configure the correct permissions on the folder on the master VM. But I am confused why the same script works in the test setup which (I think) is no different than in the production. I will test it again and see what is the difference between these environments other than the DEM version, since you confirmed that it's not a product change.  

 

 


-- If you find this reply helpful, please consider accepting it as a solution.
Reply
0 Kudos