Enumerate Directory listings
Tech-Archive recommends: Speed Up your PC by fixing your registry
Date: Wed, 14 Jul 2004 12:55:38 -0400
I would like to run a script or batch file that will:\
for each directory go down two directory levels and print the full path
(\\servername\dir1\dir2\dir3) where dir3 matches a specific pattern....
This is how my file servers store user directories and I will need to
populate the HOME FOLDER field in AD.
Thansk
Carl
Relevant Pages
- Re: Login Script group membership
... Would it be more managable to write this as a vbs instead of a batch file? ... script, as not all o/s's can run a .vbs file directly as a logon script. ... - you'd need to write a wrapper function to invoke ifmember and return the ... In the general case a user can be a member of any number of ... (microsoft.public.windows.server.scripting) - Re: Win 98 client WSH "Can not find script file"
... My theory is that the client unmaps z: before wscript ... more statements to the batch file after the VBScript program is called. ... >> REM ** Execute VBScript logon script program. ... (microsoft.public.windows.server.scripting) - Re: Command or setting to force monitor on?
... Keystrokes vbs script? ... But the same symptoms as without cscript, monitor not waking up, when I ... I set up a batch file containing the commands to first start IE, ... could move to the keystrokes command. ... (microsoft.public.windowsxp.general) - Re: Loginscript occasionally failing
... clients, where the ... >the end of batch file, so the client won't remove Z: ... >run the logon script. ... (microsoft.public.windows.server.scripting) - Re: Power Management GPO?
... Well the 0 exit code is just what the batch file is returning, rather than the powercfg exit code. ... I'm not sure where to point you because when I set the batch file to run at system startup it worked well. ... batch file using powercfg to set all the power settings the way I'd like them to be. ... The script checks for the existance of my batch file in the root of the target PC. ... (microsoft.public.windows.group_policy) |
|