Search found 11 matches

by dcampbe1
26 Sep 2016 10:17
Forum: DOS Batch Forum
Topic: DIR /s Command on Mapped Drives
Replies: 17
Views: 19549

Re: DIR /s Command on Mapped Drives

Running with the * command I get a list of 1143 folder names. I am looking for only these threefolder names: Y:\BlueIris\2014-04.BI.$BIRIS, Y:\BlueIris\2014-05.BI.$BIRIS, Y:\BlueIris\2016-02.BI.$BIRIS. Without success I've played around with numerous variations of the folder set, the latest being, ...
by dcampbe1
26 Sep 2016 09:21
Forum: DOS Batch Forum
Topic: DIR /s Command on Mapped Drives
Replies: 17
Views: 19549

Re: DIR /s Command on Mapped Drives

Give this a try from the cmd prompt. for /D /R %G in (*) do echo %G That's exactly what the doctor ordered -- almost. It does what I want it to but lists literally ever folder on the entire drive. I would like to use the same command with a filter to give me only folders with names containing "...
by dcampbe1
26 Sep 2016 07:09
Forum: DOS Batch Forum
Topic: DIR /s Command on Mapped Drives
Replies: 17
Views: 19549

Re: DIR /s Command on Mapped Drives

Give this a try from the cmd prompt. for /D /R %G in (*) do echo %G That's exactly what the doctor ordered -- almost. It does what I want it to but lists literally ever folder on the entire drive. I would like to use the same command with a filter to give me only folders with names containing "...
by dcampbe1
26 Sep 2016 04:04
Forum: DOS Batch Forum
Topic: DIR /s Command on Mapped Drives
Replies: 17
Views: 19549

Re: DIR /s Command on Mapped Drives

Given this is a Win10 issue That's not proven in the way I see this issue, from the information provided. Other blokes can test this on Win10 as it's not as OS I've felt the need to tinker with yet. There have been a number of comments here about peculiarities with Win10. I apologize. I responded t...
by dcampbe1
26 Sep 2016 03:40
Forum: DOS Batch Forum
Topic: DIR /s Command on Mapped Drives
Replies: 17
Views: 19549

Re: DIR /s Command on Mapped Drives

The only way out is to either forget mapped drives altogether; or specify each sub-directory under the root directory. The later option is laborious and tedious and would requires a "for" loop script which I don't understand enough to use. Given this is a Win10 issue, I need to find a Win...
by dcampbe1
26 Sep 2016 03:23
Forum: DOS Batch Forum
Topic: DIR /s Command on Mapped Drives
Replies: 17
Views: 19549

Re: DIR /s Command on Mapped Drives

I get proper responses when using any variation of the command against non-mapped (local) drives, but using virtually any variation of the command against any mapped drive displays the folder contents of the root directory only. We can't diagnose what we can't see: I'm only making that point becaus...
by dcampbe1
26 Sep 2016 02:43
Forum: DOS Batch Forum
Topic: DIR /s Command on Mapped Drives
Replies: 17
Views: 19549

Re: DIR /s Command on Mapped Drives

It's an external Seagate 4tB NTFS drive from a Win7 64bit machine. I'm accessing it from a Win10 64-bit box. No matter the combination of DOS commands, I can't get past the root listing of folders/files. Specifying any/every sub-folder works as advertised and lets me drill down with no problem. Dir...
by dcampbe1
25 Sep 2016 17:24
Forum: DOS Batch Forum
Topic: DIR /s Command on Mapped Drives
Replies: 17
Views: 19549

Re: DIR /s Command on Mapped Drives

It should work just fine. What kind of drive is being mapped? NTFS format? Is it from a Linux box? try using just dir /s /ad It's an external Seagate 4tB NTFS drive from a Win7 64bit machine. I'm accessing it from a Win10 64-bit box. No matter the combination of DOS commands, I can't get past the r...
by dcampbe1
25 Sep 2016 07:02
Forum: DOS Batch Forum
Topic: DIR /s Command on Mapped Drives
Replies: 17
Views: 19549

DIR /s Command on Mapped Drives

Using the command "dir *. /s /ad" on a local drive gives me expected results. Using the same command on a mapped drive gives me only the root directory. However if I include a folder name on that mapped drive, e.g., "dir \steve /s /ad" I do get expected results, i.e., many folder...
by dcampbe1
06 Jul 2009 11:28
Forum: DOS Batch Forum
Topic: Filename to DateTime
Replies: 9
Views: 12617

Thanks for the very speedy reply. I was able to understand some, but no where near all of it. I did some tracing to try to get a better understanding and it appears that it's picking up the file stamp date, but the current time, not the filestamp time. There also seems to be a problem finding the li...
by dcampbe1
06 Jul 2009 09:35
Forum: DOS Batch Forum
Topic: Filename to DateTime
Replies: 9
Views: 12617

Filename to DateTime

Only if the file name in the active directory contains "MyBackup" in it, I want to change it's name to prepend the datetime, e.g., "200907052345 MyBackup..." This new DOS is so overwhelming to me, as a former DOS pro, it is intimidating. If someone could furnish me with the corre...