Search found 2 matches

by bsd1
Fri Jun 16, 2006 10:17 am
Forum: Advanced Find and Replace
Topic: Search and delete on unc paths
Replies: 1
Views: 11656

Looking at past replies it'll probably be easier for me to delete the whole line when finding just the path.

Data example:

net use r: \\server\path
net use q: \\server\path1
net use r: \\server\path2

Search for:

\\server\path

Search expression (I've tried the following but it's ...
by bsd1
Fri Jun 16, 2006 9:45 am
Forum: Advanced Find and Replace
Topic: Search and delete on unc paths
Replies: 1
Views: 11656

Search and delete on unc paths

Hello,

I'm trying to do a search and replace on the following:

net use [a-z]: \\\server\\(path|path1|path2|path3)

i.e find " net use r: \\server\path " and delete the line from the file

The server name is always the same and there are a number of paths as indicated above. The Batch ...