Locate a subdirectory w dos script and move
Solved/Closed
Related:
- Locate a subdirectory w dos script and move
- How to locate @ on keyboard - Guide
- Find location by latitude and longitude google earth - Guide
- Dos to unix command - Guide
- Dos network commands cheat sheet - Guide
- Anu script manager 7.0 free download filehippo ✓ - Excel Forum
3 responses
rizvisa1
Posts
4478
Registration date
Thursday January 28, 2010
Status
Contributor
Last seen
May 5, 2022
766
Feb 23, 2010 at 02:16 PM
Feb 23, 2010 at 02:16 PM
dir /s /b will give you absolute path
The /b /s does give me what I need.
On a slightly different issue, I thought the /s should only search the existing directory
and subdirectories. It seems to be searching through \root.
Is there a way to limit this to just within a specific folder?
thx,
Nitesh
On a slightly different issue, I thought the /s should only search the existing directory
and subdirectories. It seems to be searching through \root.
Is there a way to limit this to just within a specific folder?
thx,
Nitesh
rizvisa1
Posts
4478
Registration date
Thursday January 28, 2010
Status
Contributor
Last seen
May 5, 2022
766
Feb 24, 2010 at 04:11 AM
Feb 24, 2010 at 04:11 AM
It does search from the target folder and then deeper. I think you are saying dir c:\ /s /b which is saying that go to c: and starting seeking dirs. you can tell it what the start point is like dir c:\windows\ /s /b