Search found 4 matches
- 08 Sep 2013 05:45
- Forum: DOS Batch Forum
- Topic: splitting strings
- Replies: 7
- Views: 6168
Re: splitting strings
Thx it is exactly what I was looking for!
- 08 Sep 2013 05:23
- Forum: DOS Batch Forum
- Topic: splitting strings
- Replies: 7
- Views: 6168
Re: splitting strings
I wasn't really looking for that. I tested your code and I got the folowing results:
C:
\somewhere\on\your\disk\
test.txt
test
.txt
and what I'm trying to get is the following:
C:
somewhere
on
your
disk
test.txt
Anyway, thx for the help.
C:
\somewhere\on\your\disk\
test.txt
test
.txt
and what I'm trying to get is the following:
C:
somewhere
on
your
disk
test.txt
Anyway, thx for the help.
- 08 Sep 2013 05:20
- Forum: DOS Batch Forum
- Topic: splitting strings
- Replies: 7
- Views: 6168
Re: splitting strings
Thx! I will try it! 

- 08 Sep 2013 04:52
- Forum: DOS Batch Forum
- Topic: splitting strings
- Replies: 7
- Views: 6168
splitting strings
Here is my code: @SETLOCAL enableextensions enabledelayedexpansion @ECHO off for /f "tokens=1,* delims=\" %%a in ("D:\Blabla") do (set dossier=%%a echo %dossier%) I'm trying to split the path of a given file/folder in order to separate the path's elements. The problem is that the...