LavaLit
  Home   Forum   WIKI SVN DOWNLOADS Help Donations Login Register  
* *

Donations

Quarterly Goal: $90.00
Due Date: Sep 30
Total Receipts: $40.00
Below Goal: $50.00
Site Currency: USD
44% 
Quarterly Donations
Sep-8 MasterExpl... USD10.00
Aug-5 DrStrange USD20.00
Jul-18 mozenwrath... EUR10.00
Jul-1 LeeBrother USD10.00
Advertisement

Links

Advertisement
Pages: 1 [2]   Go Down
  Print  
Author Topic: a batch file to find out non-8.3 pattern files  (Read 1116 times)
0 Members and 1 Guest are viewing this topic.
baritonomarchetto77
Hero Member
*****
Offline Offline

Posts: 1056



« Reply #15 on: September 11, 2009, 09:18:08 AM »

I am around since borgeneration open, and i can say that the fact that using more than 8 characters could be hazardous was emphasized in different topics.

it is also probable that it applyes only to the line commands (classic bor commands) and not to scripts...

anyhow, i am not inclined to risk, so if there's a way to individuate non-8.3 pattern file names please report
Logged
gemini2378
Jr. Member
**
Offline Offline

Posts: 54



WWW
« Reply #16 on: September 11, 2009, 12:55:24 PM »

Quote
Damon Caskey: Don't use names over 8 characters. You are asking for problems.

To be perfectly honest, I don't know exactly where you can and can't use more than 8 characters. It's just good practice not to do it.

Part of the reason I don't know is that I just never do it. Leaves one less issue to worry about when debugging.
Quote
BaritonoMarchetto77: I am around since borgeneration open, and I can say that the fact that using more than 8 characters could be hazardous was emphasized in different topics.

It is also probable that it applies only to the line commands (classic bor commands) and not to scripts...

I agree that it's probably better to stick to 8 characters, but all of the mods I've posted here use more and I've never had a problem with it.

It may lead to more problems later, but I'm willing to take that risk. With the way the engine is growing, it would seem a bit backwards if a new version introduced more DOS-like limitations.
Quote
BaritonoMarchetto77: Anyhow, I am not inclined to risk, so if there's a way to individuate non-8.3 pattern file names please report

Did you try one of the 3 methods I posted earlier?

Quote
Code:
1. Add " | more" to the end of the command line
ex "program.exe | more"

2. Add " > log.txt" to the end of the command line
ex "program.exe > log.txt"

3. Type "dir /s /b > dir.txt"
Open dir.txt in Notepad2 and hit Alt Z (Strip First Character) 8 times

#3 is a bit of a roundabout method, but the first two are simple and should work just fine. Vista might not support the "pipe" symbol ( | ) but I'd be very surprised if "redirect output" ( > ) didn't work.

Since you're using packer.exe instead of borpak.exe you can type:
Quote
packer.exe mymod.pak data | more
or
Quote
packer.exe mymod.pak data > log.txt

The first one will pause the screen while it displays the output and the second one won't display the output on the screen at all but will instead create a text file called log.txt with the output in it.
« Last Edit: September 11, 2009, 02:44:23 PM by gemini2378 » Logged

Player characters from my next project:
baritonomarchetto77
Hero Member
*****
Offline Offline

Posts: 1056



« Reply #17 on: September 11, 2009, 04:17:31 PM »

I tried the second one, and it works like a charm!!

thank you very much gemini
Logged
utunnels
Developer
*****
Offline Offline

Posts: 1860



« Reply #18 on: September 23, 2009, 01:11:31 AM »

(anyhow, i tried that bat and did not work for me; running with Vista OS)

dir /x/s *~*.* >non83.txt

This should work on vista as well.

----------

But you know someone might name the file with a ~ , so...
For example, me.
« Last Edit: September 23, 2009, 01:15:10 AM by utunnels » Logged
baritonomarchetto77
Hero Member
*****
Offline Offline

Posts: 1056



« Reply #19 on: September 23, 2009, 04:49:34 AM »

Thanx Uty, i'll give it a check as soon as possible  Smiley
Logged
Pages: 1 [2]   Go Up
  Print  
 
Jump to:  

Advertisement

Recent Topics

[September 10, 2010, 08:51:05 AM]

[September 10, 2010, 08:50:15 AM]

[September 10, 2010, 08:34:13 AM]

[September 10, 2010, 08:32:53 AM]

[September 10, 2010, 08:21:23 AM]

[September 10, 2010, 07:34:28 AM]

[September 10, 2010, 01:16:08 AM]

[September 10, 2010, 01:02:01 AM]

[September 09, 2010, 10:52:43 PM]

[September 09, 2010, 09:51:46 PM]

Online Status

Members
Stats
  • Total Posts: 68816
  • Total Topics: 4655
  • Online Today: 25
  • Online Ever: 117
  • (October 23, 2009, 03:29:26 PM)
Users Online
Users: 5
Guests: 28
Total: 33
TinyPortal v1.0 beta 4 © Bloc
Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC
Valid XHTML 1.0! Valid CSS!
Page created in 0.097 seconds with 41 queries.

Google visited last this page September 04, 2010, 09:21:41 PM