Does anybody know how to remove space in a file using dos command in a .bat script?
Basically the original log file looks like this:
1; 1; 246; 231;master
1; 1; 10; 10;modeldev
1; 1; 180; 177;MSDBData
1; 1; 20; 20;pubs
1; 1; 28; 26;SSODB
1; 1; 128; 16;tempdev
and i need to remove all spaces so it would look this:
1;1;246;231;master
1;1;10;10;modeldev
1;1;180;177;MSDBData
1;1;20;20;pubs
1;1;28;26;SSODB
1;1;128;16;tempdev
This is easily done in unix, but i have issues doing that in windows. Thanks lots for your suggestions/help.
Basically the original log file looks like this:
1; 1; 246; 231;master
1; 1; 10; 10;modeldev
1; 1; 180; 177;MSDBData
1; 1; 20; 20;pubs
1; 1; 28; 26;SSODB
1; 1; 128; 16;tempdev
and i need to remove all spaces so it would look this:
1;1;246;231;master
1;1;10;10;modeldev
1;1;180;177;MSDBData
1;1;20;20;pubs
1;1;28;26;SSODB
1;1;128;16;tempdev
This is easily done in unix, but i have issues doing that in windows. Thanks lots for your suggestions/help.