Quantcast
Channel: Windows PowerShell forum
Viewing all articles
Browse latest Browse all 21975

Need Help Creating a Batch File

$
0
0

I'm new to the batch file world, and I need help creating a file to do the following:

I need to move 3 separate files from the mapped B: drive to the mapped K: drive. My issue is that the file names aren't the same daily, but have the same base name. (ie 0822.Accounts.csv, 0822.customer.csv,0822.transact.csv). The date part of the file name changes daily.

What I'd like help with is creating a script that will move (not copy) the *Accounts, *Customer, and *Transact file from the B: to the K: drive, they are mapped directly to the folders they come from/go to.

I'd spend some more time on my own doing research but I need this done fairly quickly.


Viewing all articles
Browse latest Browse all 21975

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>