Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Variables in xcopy batch help!!??

Status
Not open for further replies.

mrclasik

Technical User
Dec 16, 2004
18
US
I am trying to do a xcopy in a folder that has a random folder name scheme. For instance, I need to copy folder 47pntgd2.Default The next PC may have 48ntpgd2.default. The only common factor is that the folder name ends with .default
I have tried xcopy "C:\DOCUME~1\%USERNAME%\APPLICATION DATA\Mozilla\Firefox\Profiles\*.default" C:\FIREFOXDEPLOYER\"MOZILLA FIREFOX"\Globalprofile /h /e /i /y

Does not work. It copies everthing in the profiles folder. Is there any way to do this.. Any help appreciated..

Clasik
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top