Search found 4 matches

by ScriptKing
04 Jan 2011 00:50
Forum: DOS Batch Forum
Topic: Changing Ownership / Permissions
Replies: 3
Views: 6734

Re: Changing Ownership / Permissions

Yes, I'm using XP Pro.
by ScriptKing
31 Dec 2010 02:23
Forum: DOS Batch Forum
Topic: Changing Ownership / Permissions
Replies: 3
Views: 6734

Re: Changing Ownership / Permissions

I've been doing something similiar to what you have asked for so perhaps the script below will help point you in the right direction. Works on Win XP and Server 2003. The e:\scripts\AccessdeniedFolders.txt file contains the folder name I want to change permissions on. It also happens to match the do...
by ScriptKing
31 Dec 2010 02:11
Forum: DOS Batch Forum
Topic: HELP PLEASE cmd opening fail
Replies: 2
Views: 4567

Re: HELP PLEASE cmd opening fail

Do you mean the script opens in Notepad instead of running?
by ScriptKing
28 Dec 2010 06:02
Forum: DOS Batch Forum
Topic: Displaying computer name
Replies: 2
Views: 4364

Re: Displaying computer name

Hi,

I think this will work for you:


for /f "tokens=2 delims=[] " %%a in ('"ping -a %ipaddress% |find "Pinging""') do echo Current Computer Name / IP: %ipaddress% / %%a