Results 1 to 4 of 4
I guess I could go to a Windows forum and ask my question but many of you also know dos. I didn't think it would hurt to ask the folks ...
- 11-10-2010 #1
Need a little Linux help with dos commands...
I guess I could go to a Windows forum and ask my question but many of you also know dos. I didn't think it would hurt to ask the folks I know best first.

I've tried Googling for this but so far have come up empty as every site I visit tries to sell me a Windows program and I'm running out of time. I'm trying to make a dos script that download files into a specific directory. In Linux it would be:
Wget is already installed in Windows. I need an example of how this is done with in dos. Thanks!Code:cd /home/user/downloads && wget ftp://user:password@ftp_server.net/directory/*.mp2
- 11-10-2010 #2
i'd just install cygwin then use bash scripts instead of trying to muck around in batch
- 11-10-2010 #3
Maybe powershell would be the tool of choice, aka natively available.
You might take some inspiration from that script here:
Download SharePoint 2010 Pre-Requisites
Bitstransfer itself is described:
Using Windows PowerShell to Create BITS Transfer Jobs (Windows)
It seems to support globbing (at least on local files),
but I couldnt find anything about ftp after a quick scan.You must always face the curtain with a bow.
- 11-11-2010 #4
Thanks guys. It turned out to be as simple as:
cd C:\directory\directory.


Reply With Quote
