Hi Team,
I am new to scripting. I need a batch file to search the particular folder/file name and delete the folder.
We are having 50 computer and we dont have active directory, Is there any chance to run one script for all the systems.
Please anyone help me.
Script to delete particular folder/file name
Moderator: DosItHelp
Re: Script to delete particular folder/file name
Some more informations were not that bad:
Is the folder/file on all systems at the same location (always: X:\1\2\3\4.txt), or
is the folder/file on all systems in the same path (always \1\2\3\4.txt but on different volumes somewhere in A: to Z:), or
is the folder/file on all systems in an own path.
Are there similar folders, that should not be deleted and if how to differ between them, for example:
You have a folder named abc that should be deleted and the folder is on every system in an own path, maybe C:\some\dir\abc on system 1, but there is another directory C:\another\dir\abc that should not be deleted, what should the batch program do then.
penpen
Is the folder/file on all systems at the same location (always: X:\1\2\3\4.txt), or
is the folder/file on all systems in the same path (always \1\2\3\4.txt but on different volumes somewhere in A: to Z:), or
is the folder/file on all systems in an own path.
Are there similar folders, that should not be deleted and if how to differ between them, for example:
You have a folder named abc that should be deleted and the folder is on every system in an own path, maybe C:\some\dir\abc on system 1, but there is another directory C:\another\dir\abc that should not be deleted, what should the batch program do then.
penpen