Search found 11 matches

by Dewars
14 Apr 2012 06:28
Forum: DOS Batch Forum
Topic: Finding .txt files of certain name length
Replies: 12
Views: 7925

Re: Finding .txt files of certain name length

The code you supplied works to some degree, but has left out quite a few of the files it displayed previously. version.txt actbusy.txt credits.txt READ ME.txt jReadMe.txt Those are the only ones that showed up. Thank you for taking the time to help me, I've spent ages trying to do this, and this is ...
by Dewars
14 Apr 2012 04:30
Forum: DOS Batch Forum
Topic: Finding .txt files of certain name length
Replies: 12
Views: 7925

Re: Finding .txt files of certain name length

Hi foxidrive

Yes, I just want to display them in a wide format, and then append them on to the end of a text file I created earlier.
This is exam revision, so I'm guessing I'll have to know how to do this. I'm very close, I just don't see why those other files are showing up on the right.

Thanks
by Dewars
14 Apr 2012 00:26
Forum: DOS Batch Forum
Topic: Finding .txt files of certain name length
Replies: 12
Views: 7925

Re: Finding .txt files of certain name length

So there's no way to just slightly modify my code? It just seems so close to working.
I was trying to do this without using any loops, but if there isn't any other way, then your way will have to do.
by Dewars
13 Apr 2012 23:37
Forum: DOS Batch Forum
Topic: Finding .txt files of certain name length
Replies: 12
Views: 7925

Finding .txt files of certain name length

Hi there, I'm trying to find all .txt files on my C: Drive that have exactly 7 characters, then display them in a wide format. The code I'm using at the moment is DIR C:\ /W /S | findstr /R "^.......\.txt" But it's returning other files e.g. eulaENU.txt InstallManager.cfg Language.Dat Lice...
by Dewars
12 Apr 2012 10:46
Forum: DOS Batch Forum
Topic: New Batch scripter, Please help.
Replies: 11
Views: 6960

Re: New Batch scripter, Please help.

I think everything is working fine now. Thanks to everyone that helped.
by Dewars
12 Apr 2012 10:29
Forum: DOS Batch Forum
Topic: New Batch scripter, Please help.
Replies: 11
Views: 6960

Re: New Batch scripter, Please help.

Batch Script
Press any key to continue . . .
by Dewars
12 Apr 2012 09:44
Forum: DOS Batch Forum
Topic: New Batch scripter, Please help.
Replies: 11
Views: 6960

Re: New Batch scripter, Please help.

Microsoft Windows [Version 6.1.7600]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.

C:\windows\system32>CD C:\

C:\>fsutil fsinfo drives

Drives: C:\ D:\ E:\ F:\ G:\

C:\>
by Dewars
12 Apr 2012 08:12
Forum: DOS Batch Forum
Topic: New Batch scripter, Please help.
Replies: 11
Views: 6960

Re: New Batch scripter, Please help.

CD C:\
fsutil fsinfo drives

Comes up with the error "The fsutil utility requires you have administrative privileges"
by Dewars
12 Apr 2012 08:06
Forum: DOS Batch Forum
Topic: New Batch scripter, Please help.
Replies: 11
Views: 6960

Re: New Batch scripter, Please help.

This is my code:
MD C:\"Batch Script"
DIR C:\

It makes the folder, then shows the error I mentioned.
by Dewars
12 Apr 2012 07:59
Forum: DOS Batch Forum
Topic: New Batch scripter, Please help.
Replies: 11
Views: 6960

Re: New Batch scripter, Please help.

Yes, I tried that and it said "The system cannot find the path specified".

Very confused.
by Dewars
12 Apr 2012 07:52
Forum: DOS Batch Forum
Topic: New Batch scripter, Please help.
Replies: 11
Views: 6960

New Batch scripter, Please help.

Hello all I'm just getting into batch scripting and seem to have struck a problem. I've managed to create a new Folder with the "MD C:\..." command. Now I want to display hidden files on the C: drive, but it just tells me "The system cannot find the path specified". The command I...