Computing.Net > Forums > Disk Operating System > LFN Tools build Win98 DIR structure

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

LFN Tools build Win98 DIR structure

Reply to Message Icon

Name: Gratis
Date: November 23, 2004 at 13:54:33 Pacific
OS: win98
CPU/Ram: 512Mb
Comment:

Paraphrased:
1st question:
Using LFN Tools (LMD.EXE)to constuct win98 folder structure from boot floppy. I use LFN's LCD.exe to change DIR (Navigate to & from)& LMD.exe to make DIR's, all goes well until e.g I use X:(RAMDISK)\LMD.EXE(1 space)"C:\Winmini\Application Data\Microsoft\Internet Explorer\Quick Launch" [Details in brackets are for explanation purposes only]. To my frustration the Quick Launch DIR is created alright, but 1 level back along side Internet Explorer (4th Level)not a DIR level lower than Internet explorer. Is it that LFN Tools will only make DIR's to 4 DIR levels deep or is there something I'm doing wrong, or possibly need to do something in addition to the "Enclose" (inverted coma's)? I'm not really sure I've explained myself properly, but I'm sure of this, someone will slaughter me if I haven't - LOL! My DOS skills are weak!
2nd Question:
Is there a newbies area/forum for DOS questions where basic questions can be asked because I've got lots more up my sleeve?
Regards,
sheepishly Dave.



Sponsored Link
Ads by Google

Response Number 1
Name: wizard-fred
Date: November 23, 2004 at 15:58:53 Pacific
Reply:

If you are booting off of DOS there may be a path limit of 64 characters and 8 directories deep.


0

Response Number 2
Name: Mechanix2Go
Date: November 23, 2004 at 20:01:58 Pacific
Reply:

Hi S D,

1. I dunno LFN Tools but try a final backslash,

2. You're in it.

HTH

M2


0

Response Number 3
Name: Gratis
Date: November 23, 2004 at 23:19:42 Pacific
Reply:

Thanks for that Mechanix2Go &
wizard-fred. I'll try what you have suggested
Regards
Dave


0

Response Number 4
Name: melee5
Date: November 24, 2004 at 06:00:10 Pacific
Reply:

:: C:\WINDOWS\Application Data\Microsoft\Internet Explorer\Quick Launch
lmd c:\winmini
OK
lmd "c:\winmini\Application Data"
OK
lmd "c:\winmini\Application Data\Microsoft"
OK
lmd "c:\winmini\Application Data\Microsoft\Internet Explorer"
OK
lmd "c:\winmini\Application Data\Microsoft\Internet Explorer\Quick Launch"
OK
lcopy c:\test1.bat "c:\winmini\Application Data\Microsoft\Internet Explorer\Quick Launch"
1 file copied

Works like gang busters here, perhaps you are not taking full advantage of copy and paste when building batch files? Otherwise perhaps your DOS environment isn't up to snuff? I did notice that lcopy wouldn't work on the quoted short name version of folders, said it couldn't find the destination path and just plain lcopy test1.bat (no c:\ as above and I was AT C:\) said it couldn't find the source path? Definitely a learning curve here.


0

Response Number 5
Name: Gratis
Date: November 24, 2004 at 10:47:43 Pacific
Reply:

Regarding Response No4
You Live & Learn!
Firstly many thanks Melee5 for your response,

Question 1?
Ref: "perhaps you are not taking full advantage of copy and paste when building batch files?" - Please elaborate, in what context?
Question 2?
Ref: "Otherwise perhaps your DOS environment isn't up to snuff?" - Are you refering to possibly inreasing memory allocation to command.com?

Roamer_1 has previously hinted at possible problems with short file names when using LFN Tools.

All the best,
Dave


0

Related Posts

See More



Response Number 6
Name: jboy
Date: November 24, 2004 at 12:40:43 Pacific
Reply:

"Are you refering to possibly inreasing memory allocation to command.com?"

How would one do that?

Increasing the amount of memory available for the DOS environment in DOS622 (and earlier) is recommended, but the default under DOS7 appears to be 1424 bytes - usually sufficient, although it can be upped to 4096 (max) if necessary

Also, the PATH limit is 127 characters


Never argue with an idiot. They will only bring you down to their level and beat you with experience


0

Response Number 7
Name: Gratis
Date: November 24, 2004 at 15:48:19 Pacific
Reply:

Re Response No6 from jboy
Sorry! Had to go out tonight, was in a rush, to post message to melee5. jboys right, please replace in question 2 ref

"Otherwise perhaps your DOS environment isn't up to snuff?" - Do you think I need to increase the Environment space?
Too many late nights & less haste more progress. It's a good job your there jboy.
regards,
"Stands corrected!"


0

Response Number 8
Name: jboy
Date: November 24, 2004 at 16:08:12 Pacific
Reply:

I'd be inclined to doubt it. While previous DOS versions defaulted to a paltry 160K or so, even that was usually enough unless you were using lots of environment memory with the SET= statement, either from the command line or from autoexec or other .bats

I don't know if LFN tools would have any special requirements in this area - you can try bumping it up some with a SHELL statement, but I wouldn't think it would be necessary.


Never argue with an idiot. They will only bring you down to their level and beat you with experience


0

Response Number 9
Name: jboy
Date: November 24, 2004 at 16:11:04 Pacific
Reply:

.. er - that should read 160 bytes - off by a few orders of magnitude


Never argue with an idiot. They will only bring you down to their level and beat you with experience


0

Response Number 10
Name: dominicus
Date: November 25, 2004 at 03:42:17 Pacific
Reply:

Hmmm..didn't 'someone we know' say 640k oughta be enough for everybody?


0

Response Number 11
Name: Gratis
Date: November 25, 2004 at 04:42:05 Pacific
Reply:

Mucho Gracias, everyone for your advisory postings,

jboy - What is the trade off for setting E: to 4096? Sorry, I'm asking questions again?

I will now go away and try out suggestions for what is good advice without action? I will let you know how I get on!

Regards,

Dave.


0

Response Number 12
Name: jboy
Date: November 25, 2004 at 09:51:35 Pacific
Reply:

It'll reduce the amount of conventional memory available - but we're only talking about a few Kb.

I don't think that's it, but no harm in trying.

Ah, the infamous quote (reputed to be apocryphal)


Never argue with an idiot. They will only bring you down to their level and beat you with experience


0

Response Number 13
Name: Gratis
Date: November 25, 2004 at 15:57:48 Pacific
Reply:

Having success tonight jboy - (Nice quotes)
The DIR Structure is being compiled nicely don't want to get too enthusiastic as this is not one of Bill Gates quotes but equally relevant as "Murphy's Law" might kick in. "If it can go wrong, it will go wrong" or words to that effect & pardon the pun but that, "Ought to be enough for anybody" - LOL!
Signing off now, Many thanks!
Dave


0

Response Number 14
Name: jboy
Date: November 25, 2004 at 16:32:25 Pacific
Reply:

Sounds encouraging - was it the amount of environment space after all?

Never argue with an idiot. They will only bring you down to their level and beat you with experience


0

Response Number 15
Name: Gratis
Date: November 26, 2004 at 04:56:01 Pacific
Reply:

Re Response No14 jboy,

I started to rem the line, then changed my mind in mid-flow and tried the trailing backslash option offered by Mechanix2Go but that had no effect. So I then deleted all the text and rebuilt the instructions in a more systematic manner but only did a portion of it to test, I then re-tested with 5 & 6 DIR's deep as examples using LCD.exe & LMD.exe.
"Hey Presto", It worked, I've only now got to check the folders now match the Windows Directory to ensure completion but things are looking very favourable.
I think I will change the "E:" (Environment space) to a midway region say 2048 & retest anyway and use MEM.exe to check Conventional memory useage. At the end of the day, I will have to concede the faults were due to operator error & not enough ZZZZZZZZZZ
Thanks everyone,
Dave.


0

Response Number 16
Name: jboy
Date: November 26, 2004 at 09:02:02 Pacific
Reply:

Sure - simplifying things usually helps to get a handle on stubborn problems.

It's said you learn more by failing than succeeding, but it seems like you're making progress.

Never argue with an idiot. They will only bring you down to their level and beat you with experience


0

Sponsored Link
Ads by Google
Reply to Message Icon






Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Disk Operating System Forum Home


Sponsored links

Ads by Google


Results for: LFN Tools build Win98 DIR structure

Lfn tools help www.computing.net/answers/dos/lfn-tools-help/15282.html

LFN for Freedos www.computing.net/answers/dos/lfn-for-freedos/14225.html

Need help backing up files in DOS. www.computing.net/answers/dos/need-help-backing-up-files-in-dos/12745.html