👤
Home Man
Search
Today's Posts
Register

Showing results 1 to 4 of 4
Search took 0.00 seconds.
Search: Posts Made By: Yoda
Forum: Windows & DOS: Issues & Discussions 03-08-2013
Replies: 7
Views: 2,386
Posted By Yoda
OK, in that case short paths are going to be a...

OK, in that case short paths are going to be a problem for search & replace.

I guess you should convert the format from long to short and vice versa to achieve this.

Look at for help and see if...
Forum: Windows & DOS: Issues & Discussions 03-08-2013
Replies: 7
Views: 2,386
Posted By Yoda
C:\>for %A in ("C:\PROGRA~1\TEST\*.*") do @echo...

C:\>for %A in ("C:\PROGRA~1\TEST\*.*") do @echo %~sA
C:\PROGRA~1\TEST\TESTIT~1.PNG
Forum: Windows & DOS: Issues & Discussions 03-08-2013
Replies: 7
Views: 2,386
Posted By Yoda
Works for me! C:\>for /d %I in (*) do @echo...

Works for me!
C:\>for /d %I in (*) do @echo %~sI
C:\APACHE~1.27
C:\BD630A~1
C:\Dell
C:\DOCUME~2
C:\DOCUME~1
C:\Drivers
C:\local
C:\oracle
Forum: Windows & DOS: Issues & Discussions 03-08-2013
Replies: 7
Views: 2,386
Posted By Yoda
In this situation I would suggest to use short...

In this situation I would suggest to use short path.

You can get short path by running:
dir /x
Or in CLI or batch file you can get them by running:
for /d %I in (*) do @echo %~sI
Showing results 1 to 4 of 4

 


All times are GMT -4. The time now is 10:02 AM.

Unix & Linux Forums Content Copyrightę1993-2018. All Rights Reserved.
×
UNIX.COM Login
Username:
Password:  
Show Password