Search found 7 matches
- 12 Apr 2012 10:59
- Forum: DOS Batch Forum
- Topic: copy file & rename
- Replies: 15
- Views: 12137
Re: copy file & rename
They are binary files. It can be changed using a batch file but you'll have to download a utility. I'll see what I can find. That would help out greatly. If ya can't find anything, I will ask around on the C# forums and seeing if I can find a programmer to make a small app that can change that 1 by...
- 12 Apr 2012 10:50
- Forum: DOS Batch Forum
- Topic: copy file & rename
- Replies: 15
- Views: 12137
Re: copy file & rename
I can open the mdl file in notepad.exe and here is a sample of what it shows on the first line.... IDST0 ¡˜jprops_equipment\cooler.mdl now sometimes it can be different things but no matter what, the IDST is allways there. IDST, IDST0 IDST1 IDST2 as you can see, the last digit on IDST is allways cha...
- 12 Apr 2012 10:27
- Forum: DOS Batch Forum
- Topic: copy file & rename
- Replies: 15
- Views: 12137
Re: copy file & rename
ok. Well, there are these MDL files that go along side these vtx file. MDL = Model file. I am trying to restore the MDL file to an older version and that restoration is by changing 1 byte. I know exactly the hex value and position that needs to be changed which is only a few bytes in the header of t...
- 12 Apr 2012 10:19
- Forum: DOS Batch Forum
- Topic: copy file & rename
- Replies: 15
- Views: 12137
Re: copy file & rename
thanks guys. That works perfectly. I have one more question to ask. Is it possible for a batch file to be able to modify a byte within a file?
- 12 Apr 2012 10:00
- Forum: DOS Batch Forum
- Topic: copy file & rename
- Replies: 15
- Views: 12137
Re: copy file & rename
ok that worked. Now I did a different test, like let's say if there was a file with... filename.dx80.vtx in folder allready and I ran script and here is what it did. filename.dx80.dx90.vtx filename.dx80.dx90.vtx that was from only 1 file with name allready. if there was 2, it probably would created ...
- 12 Apr 2012 09:45
- Forum: DOS Batch Forum
- Topic: copy file & rename
- Replies: 15
- Views: 12137
Re: copy file & rename
number 1, set fname=car.vtx all files are not car.vtx I like to do this to all files with the extension of .vtx basicly. The directory would be the folder that the batch file is in if that is possible. what do you mean by binary or not? thanks for the fast reply. and I be testing out the code ------...
- 12 Apr 2012 08:47
- Forum: DOS Batch Forum
- Topic: copy file & rename
- Replies: 15
- Views: 12137
copy file & rename
I am new to batch scripts. I need help on making a batch script to do the following. car.vtx - make a copy of this file 2x car.dx80.vtx - 1st copy of file with dx80 added car.dx90.vtx - 2nd copy of file with dx90 added ending result is 3 files, 1st is the original but with 2 extra's that are named d...