Topic: Synchronize letters of disks  (Read 47670 times)

Re: Synchronize letters of disks
« Reply #60 on: March 02, 2013, 07:49:08 AM »

anshad

  • Chef
  • ***
  • Date Registered: Apr 2012
  • Posts: 323
Hi Galapo And Lancelot

"ignorecd" option works fine in new test version :thumbsup:. I also tried "letterswap.exe /auto /restartexplorer /ignoreletter %cddrive%" in the default Runonce autorun option in the script and that also seems to work :great:

Re: Synchronize letters of disks
« Reply #61 on: March 02, 2013, 08:19:51 AM »

Galapo

  • Gena Baker
  • Grand Chef
  • *****
  • Location: Australia
  • Date Registered: Sep 2010
  • Posts: 2207
Thanks for the tests -- that's just what I was hoping to hear!

We'll release a new version based on these results. I'll need to tidy up the code and so forth.

Thanks,
Galapo.

Re: Synchronize letters of disks
« Reply #62 on: March 02, 2013, 10:59:37 AM »

Lancelot

  • Gena Baker
  • Grand Chef
  • *****
  • Date Registered: Sep 2010
  • Posts: 10350
@Galapo
just an idea:

maybe
/ignoreletter
->
/ignoreletters

and letters seperated with |  :wink: or whatever you like
also additional markerfile ??

giving example: /ignoreletters B:|%cddrive%|Y:|X:|\mycd.flag
 :wink:

also, dont forget to add new stuff to
ReadMe Enu and* ReadMe Rus (you can write English to Rus one  :wink: so syncronisation would be assured even with enu )



@anshad
yes there is "this" complications (not only wimpack but also others... more examples can be added to what I had written),
 besides for regular usages this does not matter at all  :thumbsup:

  I feel ready "Autorun string" should include something like
    /ignoreletters B:|%cddrive%|Y:|X:

btw, now reading "Readme Eng" there is already (simialr ;) !)
/bootdrive y:\MarkerFile

See You
« Last Edit: March 02, 2013, 11:00:19 AM by Lancelot »

Re: Synchronize letters of disks
« Reply #63 on: March 02, 2013, 11:15:05 AM »

Galapo

  • Gena Baker
  • Grand Chef
  • *****
  • Location: Australia
  • Date Registered: Sep 2010
  • Posts: 2207
/ignoreletter
->
/ignoreletters
I agree, that's a good idea.

and letters seperated with |  :wink: or whatever you like
also additional markerfile ??

giving example: /ignoreletters B:|%cddrive%|Y:|X:|\mycd.flag

The current implementation by Nikzzzz of the /ignoreletter parameter allows for more than one drive to be specified. So you example above would be

/ignoreletter B %cddrive% Y X

Note that /ignoreletter has to always be the last parameter specified in the commandline.

I can probably add the option for a flagfile if that is still needed.

also, dont forget to add new stuff to
ReadMe Enu and* ReadMe Rus (you can write English to Rus one  :wink: so syncronisation would be assured even with enu )

Thanks for that -- I would have forgotten.

Regards,
Galapo.

Re: Synchronize letters of disks
« Reply #64 on: March 02, 2013, 11:35:35 AM »

anshad

  • Chef
  • ***
  • Date Registered: Apr 2012
  • Posts: 323
Hi

@Lancelot
The "/bootdrive y:\MarkerFile" option will change the drive letter of the drive with marker file to a specific one. For example if i use "/bootdrive y:\MEDIA.DRIVE" my cd will be remapped to "Y:".

@Galapo
I have a doubt with "ignoreletter" parameter. Do we need colon with the drive letter to exclude?. May i use just plain B , D etc or B: and C: or both works?
« Last Edit: March 02, 2013, 11:37:15 AM by anshad »

Re: Synchronize letters of disks
« Reply #65 on: March 02, 2013, 12:19:33 PM »

Atari800xl

  • Code Baker
  • Sr. Chef
  • ****
  • Date Registered: Feb 2013
  • Posts: 827
So the option y:\media.drive would change the driveletter to y:, of the drive that has the "media.drive" marker file? In that case, we wouldn't need any other commandline options? (the /bootdrive isn't needed?)

That would actually be very useful to me, to switch the USB to Y: and leave all others untouched...

...but I think I might miss something here...

Re: Synchronize letters of disks
« Reply #66 on: March 02, 2013, 01:27:23 PM »

anshad

  • Chef
  • ***
  • Date Registered: Apr 2012
  • Posts: 323
@Atari800xl

To me using "/bootdrive Y:\MEDIA.DRIVE" switched my CD drive letter to Y. You can use that but make sure to not use "run from cd" option in any app scripts.
Try this with new test version letterswap:
Code: [Select]
@echo off
letterswap.exe /auto /restartexplorer /bootdrive Y:\MEDIA.DRIVE

« Last Edit: March 02, 2013, 01:31:04 PM by anshad »

Re: Synchronize letters of disks
« Reply #67 on: March 02, 2013, 02:09:18 PM »

Lancelot

  • Gena Baker
  • Grand Chef
  • *****
  • Date Registered: Sep 2010
  • Posts: 10350
I can probably add the option for a flagfile if that is still needed.
no no, leave it as it is  :thumbsup: :thumbsup:


@Atari800xl
/bootdrive --> I guess assures a drive mounted following flagfile
/ignoreletter(s) --> says not to "touch" some letters during operation

like the difference between: include - exclude  :wink:

@anshad
I highly guess, X: (systemdrive) not touched during letterswap operation,
 hence you guess may also use /bootdrive Y:\MEDIA.DRIVE (which I deeply feel this was implemented for that very reason)
  better you test to see how this goes.

(I have mixed minds (and no time to check around...) about media.drive - cddrive etc.... whatever flagfile of cd, use that Y:\FlagFile  on your test)

:turtle:

Re: Synchronize letters of disks
« Reply #68 on: March 02, 2013, 02:27:33 PM »

Lancelot

  • Gena Baker
  • Grand Chef
  • *****
  • Date Registered: Sep 2010
  • Posts: 10350
@anshad

forget what I had written  :lol:
----
"run from cd" should be working with letterswap !!!! or should be easly made working if there is a reason why not working !!!

Re: Synchronize letters of disks
« Reply #69 on: March 02, 2013, 02:40:01 PM »

anshad

  • Chef
  • ***
  • Date Registered: Apr 2012
  • Posts: 323
Hi Lancelot

According to the readme file letters A,B,X,Y and Z are exluded from remaping.

I made a test and indeed "bootdrive Y:\MEDIA.DRIVE" can be used to remap CD drive to Y. As this remapping is done after all shortcuts are created (in manual run) changing CD drive letter may cause run from CD apps to not work . That is what i meant :cool:. Usually i don't need to remap my CD drive.I need  "CDDrive" variable in by batch scripts and that is why i use "ignorecd"  option :smile:
« Last Edit: March 02, 2013, 02:43:12 PM by anshad »

Re: Synchronize letters of disks
« Reply #70 on: March 02, 2013, 03:09:45 PM »

Lancelot

  • Gena Baker
  • Grand Chef
  • *****
  • Date Registered: Sep 2010
  • Posts: 10350
ah ah ah ... now I understand ... it is not always Y: ....

sorry, I am not much familiar with letterswap and working on other life-stuff,
 spending very limited time around, understanding sometimes takes time :turtle:

/bootdrive switch supporting flagfile alone maybe a solution

what I mean: instead of
/bootdrive Y:\MEDIA.DRIVE
-->
/bootdrive \MEDIA.DRIVE

ignoring "the letter" of flagfile, would solve any letter independent from Y:  :wink:

ps:
that was the reason I had written example:
/ignoreletters B:|%cddrive%|Y:|X:|\mycd.flag
---> in fact this becomes superiour than /bootdrive  , /bootdrive become redundant I guess...

ps: | is seperator Galapo likes (me too, I first learned from Galapo ;) ) but "space" could be used instead too ....


At least, I now understand big picture better  :lol: :thumbsup: :great:



Anyway,
current /ignoreletters implementations with enhancing env. var. usage (%cddrive%) goes the same path now with your feedback,
 so better leave what have Galapo done so far  :thumbsup: keeping things simple and working untill another thingy rise  :great:

Thanks,
See You
:ymca:

Re: Synchronize letters of disks
« Reply #71 on: March 02, 2013, 03:44:34 PM »

anshad

  • Chef
  • ***
  • Date Registered: Apr 2012
  • Posts: 323
Hi Lancelot

I will be always happy to test any Gena feature :grin:. With Galapo's new additions letterswap is far better now. I hope more features will be added in future.

Re: Synchronize letters of disks
« Reply #72 on: March 03, 2013, 04:48:57 AM »

Galapo

  • Gena Baker
  • Grand Chef
  • *****
  • Location: Australia
  • Date Registered: Sep 2010
  • Posts: 2207
Hi anshad,

I have one more test for you.

Please use the script off the server, so that you are using the original letterswap.exe (not my modified one). Then check the "Autorun string" checkbox on the script interface and leave the rest as it is.

Then open up the script and change this

Code: [Select]
If,%pCheckBox1%,Equal,True,RegWrite,HKLM,0x1,Tmp_Software\Microsoft\Windows\CurrentVersion\RunOnceEx\800,LetterSwap,"LetterSwap.exe %pTextBox1%"

to this -->

Code: [Select]
If,%pCheckBox1%,Equal,True,RegWrite,HKLM,0x1,Tmp_Software\Microsoft\Windows\CurrentVersion\RunOnceEx\460,LetterSwap,"LetterSwap.exe %pTextBox1%"

What I am testing is the RunOnceEx entry and getting it changed before ExpEnvVar.exe sets the %CDDrive% variable. That way you get a better order of drive letters like on your Host OS.

If this works, I will still release an updated script with the other things you tested and improved. But this way you get the best of both worlds with a more robust letterswap.exe and better ordering of drive letters.

Thanks,
Galapo.

Re: Synchronize letters of disks
« Reply #73 on: March 04, 2013, 04:10:19 AM »

anshad

  • Chef
  • ***
  • Date Registered: Apr 2012
  • Posts: 323
Hi Galapo

Currently i am out of town but will return today. I will do exactly what you said and report back :smile:

Re: Synchronize letters of disks
« Reply #74 on: March 04, 2013, 01:27:42 PM »

anshad

  • Chef
  • ***
  • Date Registered: Apr 2012
  • Posts: 323
Hi Galapo

Just completed the tests and i am happy to say results are positive :great:  I assigned some random letters to the logical drives and CD drive of installed system and Gena seems to map it correctly with new autorun reg entry.Also "CDDrive" variable works fine. Cool find :thumbsup:
« Last Edit: March 04, 2013, 01:30:46 PM by anshad »

Re: Synchronize letters of disks
« Reply #75 on: March 04, 2013, 09:52:56 PM »

Galapo

  • Gena Baker
  • Grand Chef
  • *****
  • Location: Australia
  • Date Registered: Sep 2010
  • Posts: 2207
Great, thanks again for testing. :great:

I'll put an updated plugin on the server, hopefully later today.

Regards,
Galapo.

Re: Synchronize letters of disks
« Reply #76 on: March 05, 2013, 01:45:07 AM »

Galapo

  • Gena Baker
  • Grand Chef
  • *****
  • Location: Australia
  • Date Registered: Sep 2010
  • Posts: 2207
Ok, updated plugin is now on the Gena server.

Thanks again for your support in testing and reporting, we have a better program as a result. :thumbsup:

Regards,
Galapo.

Re: Synchronize letters of disks
« Reply #77 on: November 01, 2017, 04:29:24 PM »

NIKZZZZ

  • Code Baker
  • Chef
  • ***
  • Date Registered: Feb 2011
  • Posts: 129
Updated LetterSwap.
Fixed bugs.
Source code
Regards,Nikzzzz.

Re: Synchronize letters of disks
« Reply #78 on: November 02, 2017, 12:04:07 PM »

Galapo

  • Gena Baker
  • Grand Chef
  • *****
  • Location: Australia
  • Date Registered: Sep 2010
  • Posts: 2207
Hi NIKZZZZ,

Good to see you around. Hope you are well.

Thanks for the update.  :great:

Regards,
Galapo.

Re: Synchronize letters of disks
« Reply #79 on: November 05, 2017, 08:20:39 AM »

NIKZZZZ

  • Code Baker
  • Chef
  • ***
  • Date Registered: Feb 2011
  • Posts: 129
Hi, Galapo.
Maybe you misunderstood me, this is the correct version of LetterSwap.exe for scripts LetterSwap.script win5pe - win10pe, LetterSwap.exe has bugs in these scripts.
Regards, Nikzzzz.

 

Powered by EzPortal