Search found 6 matches

by dwilbank
27 Dec 2010 09:04
Forum: DOS Batch Forum
Topic: mv selected file to new location
Replies: 2
Views: 4807

Re: mv selected file to new location

Thanks - have been away from my work computer, but will try this when I get back.

Can't wait!
by dwilbank
18 Dec 2010 08:47
Forum: DOS Batch Forum
Topic: mv selected file to new location
Replies: 2
Views: 4807

mv selected file to new location

Hi. I thought I knew basic DOS scripting but apparently not. I'm trying to add a line to an existing script that will move the selected file(s) to a new drive (M:) when the first part of the script is complete. (I currently right click the desired file(s) and "send" them to the .bat file) ...
by dwilbank
16 Nov 2010 18:10
Forum: DOS Batch Forum
Topic: basic dir option
Replies: 3
Views: 5304

Re: basic dir option

it works!

thanks!
by dwilbank
16 Nov 2010 16:26
Forum: DOS Batch Forum
Topic: basic dir option
Replies: 3
Views: 5304

basic dir option

A basic dir question. Or maybe not...? I'm wanting to create a list of all the contents of all the subdirectories in a drive. I want the subdirectories to list in alphabetical order, along with their files I type this: dir /b /s /o:n And what I get is the subdirectories scattered in whatever order t...
by dwilbank
15 Nov 2010 15:43
Forum: DOS Batch Forum
Topic: delete spaces from a filename before using it as variable
Replies: 2
Views: 4927

Re: delete spaces from a filename before using it as variabl

Thx but there is something more mysterious going on with these variables...
It didn't find the file at all...
I'll have to study some more...
by dwilbank
10 Nov 2010 11:30
Forum: DOS Batch Forum
Topic: delete spaces from a filename before using it as variable
Replies: 2
Views: 4927

delete spaces from a filename before using it as variable

Hi. The programmer here at work made a script where we can right click a video file and have it converted to some other format. The procedure right now is to have no spaces in the filename. I want to change that, even though I heard it was complicated. Here's what I was given. set fileonly=%~n1 set ...