Discussion Locked

Batch file Programming help

0 helpful
2 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I have 600 + Windows XP and Windows 7 computers in our environment.

I need to find out which users currently have a specific Program.lnk on their desktop and replace that with NewProgram.lnk.

For each computer I need to record the computername and if the Program.lnk existed and if it was successfully replaced. I would prefer to have this file created in excel on the server I will run the batch file from.

Any thoughts?

2 replies

by gsg

Instead of posting in discussions, post in Q&A. There are members there who can probably help you.

by charliespencer

I'd settle for getting my output in a comma-separated values (.CSV) file. This is a plain-text file that can be opened in Excel. I see four fields: system name, did the old link exist, was it deleted, was the new one copied.

System1,y,y,y
System2,y,n,n
System3,n,n,y
etc.

This discussion is closed to new replies.