Answer» How execute to a client a batch lile who include commands like "attrib" that doesn't work from client in an WINDOWSXP with ADMINISTRATOR and clients. Thanks to all by readybornNot sure what you're looking for. What code do you have now?I edit a file_batch like administrator that, clients can't use. Precisely the command "attrib" (to CHANGE a FILE from hidden mode), don't work for the client so the batch don't run correctly.How come it doesn't work?
What code do you have now?
What OS does the client(s) have?Dos work on MW xp version 5.1.2600 The command line in file batch is:
attrib /S /D -H c:\namefile
this command change the file "nomefile " from hidden to visible. without do this I can't copy the file but this command dosen't work on client(s) The file batch is LAUNCHED from startup Hierror messages?Noone. Simply the file doesn't be copied But when it work under administrator the file(s) will be copied. (sorry 4 the very bad english language)what does attrib have to do with file copying?
my suspicion is the file also has the system attribute. try changing the line to
Code: [Select] attrib /S /D -S -H c:\namefile After the last (BC_Programmer), the output message is: Access denied
perhaps being used by another proccess. If the file is pagefile.sys, for example- it will cause an access denied error for a large variety of file-access functions, regardless of Administrator/user privileges.
|