I have a simple .bat file (move.bat) in the SendTo folder that moves files and directories from anywhere to the specified folder using the context menu. This worked on XP. However, in Windows 7, I get denied access to access. It does not even work with cmd open as admin (runas).
contents of move.bat:
move %1 c:\specifiedfolder
Try to enter the administrator using takeown /F <filename>(for files) andtakeown /f <foldername> /r /d y(for folders), and then try moving the file or folder
takeown /F <filename>
takeown /f <foldername> /r /d y
after accepting the right to access the admin file for full control using the cacls utility
cacls <folder> /T /G admin:F
Windows 7 . , homedir script, coz , , admin.., cmd- , ...: xcopy /R, ... robocopy
robocopy %1 c:\specifiedfolder /E /IS /MOVE
...
, .
, Windows 7 Windows . , , , .
, , . EVEN, , ( ) , , , , , ..
, , - .
, - .
Source: https://habr.com/ru/post/1727046/More articles:$ .get (u, d, c, "JSON") vs $ .getJSON (u, d, c) - jsonWhat sorting should I use when my application extends to UTF-8? - mysqlHeader rebranding / Start folder with ClickOnce - .netProblem with django url template tag (and reverse () function) - djangoRuby stdio consts and globals, what are the benefits? - ruby | fooobar.comPHP repeats duplicate lines only once - phpMono XSP игнорирует директиву в Web.Config - asp.netcommand line function for querying and returning input - scriptingincluding php in tag - phpImplementing a Sync Algorithm in C # - multithreadingAll Articles