Wednesday, 15 April 2015

batch file - Problems with Ampersand start as “Run as administrator” -


I wonder how can I create a .bat or .cmd file within a admin folder Run? Where is the same enders in the name "& amp;"? Every time I try to run the file, an error appears ... What did I do if I tried to run as an administrator CMD & amp; The name of the folder is an order.

Let me know, I have a folder named Project CMD & amp; Vbs and Project 01.bat called a file as long as I do not try to run it as an administrator until an error occurs does not come unless I folder Remove "& amp; strong> if CMD & VBS .

  folder name: CMD & VBS script name : project alternative form: context menu 01.bat execution run as the "Run" window version: 7  

Udahr Script:

  @ echo of Timt Remover - [WMP] Online music color 4f Reg Delete "HKEY_CLASSES_ROOT \ SystemFileAssociations \ Directory.Audio \ shellex \ ContextMenuHandlers \ WMPShopMusic" / f & gt; Nul 2 & gt; and 1 echo deleted messageBox "!", Vbinformation & gt;% temp% \ Msg.vbs Start / wait% temp% \ Msg.vbs & gt; tap 2 & gt; and 1 del% temp% \ Msg.vbs & gt; tap 2 & gt; and to work with the 1st exit  
& amp; character, you must save it ^ An example might help:

C: \ Temp> C Mr. can not take my test systems specified path 'Test' is went not recognized as an internal or external command, operative program or batch file.

C: \ Temp> cd my ^ & amp; Test

C: \ Temp \ my & amp; Test>


No comments:

Post a Comment