Jump to content

Welcome to MSFN Forum
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. This message will be removed once you have signed in.
Login to Account Create an Account



Photo

A New Cd-switching Utility

* * * * * 1 votes

This topic has been archived. This means that you cannot reply to this topic.
216 replies to this topic

#1
Nanaki

Nanaki

    Leg-humper

  • Member
  • PipPipPipPip
  • 507 posts
  • Joined 17-January 05
CDswitch 0.8.4

What?
Well, the only CD/DVD-switching utility (I found) on this board didn't seem to do what I needed, so I made myself a new one. I've put it online if anyone else wants to give it a go. By now it's way more advanced than any other CD-tool out there.

Features?
Compatible with: batchfiles, RunOnceEx, XPlode, ... all install methods I guess.
Can be run at: T-12 (cmdlines.txt), RunOnceEx, GuiRunOnce (haven't tested any others, maybe I'll do that soon)
Works with both CD, DVD and probably the future optical media like BluRay 'n stuff. :P

I'm going to divide the features in three modes, to keep it understandable:

Normal Mode (with a GUI and all features)
  • Pops up a box asking for a disc with a certain label. It won't go away until that disc is entered in the drive you specified. When a wrong or no disc is inserted, that drive ejects again. The only thing you have to do is insert the disc, nothing more (no clicking OK or pressing ENTER).
  • Detect the drive you want to use by specifying drive letter, drive number (first drive, second drive, ...) or by detecting the drive with a certain disc in it (by file or label).
  • Supress AutoRun / AutoPlay so nothing pops up when a new disc is inserted
  • Play a sound to notify you
  • Launch an application or file after the correct disc is inserted (like a new batchfile/RunOnceEx/...) and eventually wait hidden until that application is closed again (handy for one-application-discs).
  • Logging-capabilities
  • Customizable: your own image (JPG/GIF/BMP), set transparency, change the label (font face/colour/size/weight/location/italic/underline/strikethrough) or hide it.
  • Exit anytime by hitting ESC.
Silent Mode (no GUI)
  • Eject or close all drives or one drive
  • Detect the drive you want to use by specifying drive letter, drive number (first drive, second drive, ...) or by detecting the drive with a certain disc in it (by label or file).
Variables mode (write away drive letters to a variable)[list]
[*] Create or delete variables from all drives (%CD1%, %CD2%, ...).
[*] Detect the drive you want to write to a variable by specifying drive letter, drive number (first drive, second drive, ...) or by detecting the drive with a certain disc in it (by label or file). (%CDDRIVE%)
Screenshots
This is the stuff you see when you don't customize anything:
Posted Image

Same window, but with some transparency, borderless, and showing off some label-changes you can apply. You can make it more pretty of course:
Posted Image

Using it
Basic usage is pretty simple:

cdswitch LABEL D:

This will launch cdswitch, ejecting drive D: and searching for the disc with the label "LABEL".
If you want to use more parameters, they are all explained in the help-file.

As the number of features grows, I decided it was a bit hard to explain them all (I did tho), so I created another app to simplify all of it:

Posted Image

First, pick your mode on the top left (all explained in the beginning of this post), then check/fill in what you want or need and press "Generate and copy". The parameters itself are displayed in the textbox,but you can also paste a full batchfile/RunOnceEx/XPlode-entry in your script after clicking the button. If you want some explanation about a certain item, just rest your mouse on it. All of them have a tooltip.

Updating from previous versions
- The parameter "/w" has been renamed to "/rw".
- There's a new default image, if you don't like it, just put the contents of this archive in the same folder as CDswitch. It'll restore the old image.
- Variables Mode has been rewritten, all parameters have changed!

Download
CDswitch 0.8.4 (169k) -- the actual program
CDswitch parameter generator 0.1 (161k) -- to generate parameters on an easy way
CDswitch Help 16/07/2005 (213k) -- the help-file
Retro image (23k) -- the old CDswitch-look (from versions 0.4 to 0.7)

New since previous release
- General improvements and bugfixes.
- Rewritten Variables Mode fully and Silent Mode a bit.
- New default image.
- Detect the drive you want to use with "/f:VALUE". VALUE being a file.
- "/b" parameter to hide the border
- "/l" parameter to override displayed text
- "/s" parameter to display a sound
- ErrorLevel is now set on how CDswitch exits
- More lay-out settings for labels (underline/italic/strike)
- Added .INI-support (more to come in 0.9)
- Added *DRIVE*-variable to refer to inserted disc (in 0.8.2)
- No longer does the drive eject when it shouldn't (in 0.8.2)
- Use "/wl" and "/wt" to move the location of the window itself (in 0.8.4)

The full changelog is attached to this post.

Note on future releases
(08/08)
0.9 will be focused on working with multiple drives. Bear with me, as it takes some time to implement, and it's vacation.
1.0 will see a rewrite of the helpfile, complete with examples and how-to's.
Other features, improvements and fixes will be implemented down the road.

Report your feedback please. :) Thanks for trying it out ^^

Attached Files


Edited by Nanaki, 08 September 2008 - 12:16 PM.

CDswitch - Making CD/DVD-switching fun. / VMcleaner - Cleaning your virtual memory by killing unnecessary tasks
WinampUser - Silently install multiuser functionality for Winamp / OfficeExec - Installing Office at T-12/cmdlines.txt
Dropper - Changing file properties by drag-'n-dropping (not for unattended use)


How to remove advertisement from MSFN

#2
Nanaki

Nanaki

    Leg-humper

  • Member
  • PipPipPipPip
  • 507 posts
  • Joined 17-January 05
- removed: info about old version -
CDswitch - Making CD/DVD-switching fun. / VMcleaner - Cleaning your virtual memory by killing unnecessary tasks
WinampUser - Silently install multiuser functionality for Winamp / OfficeExec - Installing Office at T-12/cmdlines.txt
Dropper - Changing file properties by drag-'n-dropping (not for unattended use)

#3
prathapml

prathapml

    Follow the rules please :-)

  • Patrons
  • 6,611 posts
  • Joined 14-November 03
Low interest? :)
Well, I know I'm interested in this. Graphical way to change CDs during uA is a great addition!
As for lack of posts in here.... that's got to be because topics just keep running away from main index. And then, ppl normally post only when they have a question, so....

Keep up the good work Nanaki - I'd like to see how this goes ahead to capture attention of users. :thumbup
Posted ImageCheers !!!   Donate to MSFN and Help Keep This Site Running
||Please Read the Forum Rules||  Etiquette   || Welcome to MSFN - Forum Basics || Before posting
prathapml :: MSFN Supermod :: Private Message me if you ever have a problem while at MSFN

#4
Nanaki

Nanaki

    Leg-humper

  • Member
  • PipPipPipPip
  • 507 posts
  • Joined 17-January 05
Thanks :)

0.3b:
- Tray now opens when no disc is inserted
- When the correct disc is already present, the tray won't eject
- The disc-letter must now be supplied
CDswitch - Making CD/DVD-switching fun. / VMcleaner - Cleaning your virtual memory by killing unnecessary tasks
WinampUser - Silently install multiuser functionality for Winamp / OfficeExec - Installing Office at T-12/cmdlines.txt
Dropper - Changing file properties by drag-'n-dropping (not for unattended use)

#5
Nanaki

Nanaki

    Leg-humper

  • Member
  • PipPipPipPip
  • 507 posts
  • Joined 17-January 05
0.3 (20-03)
- Code clean-up, it's a bit faster now
- Error repressing of parameters, informing you about what you did wrong
- Instead of "f:" as a drive now "f" can also be used.
- Hitting ESC will exit the program
- The supplied drive is checked if its a CD/DVD-drive and if it exists

There, that's enough for today. ^^
CDswitch - Making CD/DVD-switching fun. / VMcleaner - Cleaning your virtual memory by killing unnecessary tasks
WinampUser - Silently install multiuser functionality for Winamp / OfficeExec - Installing Office at T-12/cmdlines.txt
Dropper - Changing file properties by drag-'n-dropping (not for unattended use)

#6
Alanoll

Alanoll

    CODE tags people, CODE tags!

  • Patrons
  • 5,493 posts
  • Joined 25-September 03
I like it....
perhaps when my setup moves from one DVD to two I'll use it :P Should be anytime now....
Welcome to the Forum! Please READ Me!!
Alright, that's it for the site for now. Now on to the next project....which could concievable replace the current site :)

#7
Nanaki

Nanaki

    Leg-humper

  • Member
  • PipPipPipPip
  • 507 posts
  • Joined 17-January 05
How did you do that?!? I'm still on two discs and I think I have a lot. :)

I still have to implement Visual Studio .net though. >_<
CDswitch - Making CD/DVD-switching fun. / VMcleaner - Cleaning your virtual memory by killing unnecessary tasks
WinampUser - Silently install multiuser functionality for Winamp / OfficeExec - Installing Office at T-12/cmdlines.txt
Dropper - Changing file properties by drag-'n-dropping (not for unattended use)

#8
Alanoll

Alanoll

    CODE tags people, CODE tags!

  • Patrons
  • 5,493 posts
  • Joined 25-September 03

How did you do that?!? I'm still on two discs and I think I have a lot. :)

I still have to implement Visual Studio .net though. >_<

<{POST_SNAPBACK}>

Photoshop, Acrobat Projessional, Office 2003, Visual Studio Architect, Dreamweaver, Steam (won't include the complete cache as it alone takes two DVDs so I only include CS and CS:Source), PowerDVD, VMWare + Virtual PC.

I was thinking of adding Starcraft,Warcraft 3 and a few others just for fun.
Welcome to the Forum! Please READ Me!!
Alright, that's it for the site for now. Now on to the next project....which could concievable replace the current site :)

#9
prathapml

prathapml

    Follow the rules please :-)

  • Patrons
  • 6,611 posts
  • Joined 14-November 03
That's all?
Why leave it at just one OS+apps and one games disc? Why not add a music disc and then a whateverelseyoucanthinkof disc?
One of these days your uA is going to explode under the sheer weight of all that you have put in it. :P

Anyways, I hope you use RW discs? (because otherwise you'll be wasting discs like insane)
Posted ImageCheers !!!   Donate to MSFN and Help Keep This Site Running
||Please Read the Forum Rules||  Etiquette   || Welcome to MSFN - Forum Basics || Before posting
prathapml :: MSFN Supermod :: Private Message me if you ever have a problem while at MSFN

#10
Alanoll

Alanoll

    CODE tags people, CODE tags!

  • Patrons
  • 5,493 posts
  • Joined 25-September 03

That's all?
Why leave it at just one OS+apps and one games disc?  Why not add a music disc and then a whateverelseyoucanthinkof  disc?
One of these days your uA is going to explode under the sheer weight of all that you have put in it. :P

Anyways, I hope you use RW discs?  (because otherwise you'll be wasting discs like insane)

<{POST_SNAPBACK}>

Indeed. 4 RW's. 2 for the current working release, 2 for the one I'm working on. That way, if I screw up, I still got a working copy :whistle:
Welcome to the Forum! Please READ Me!!
Alright, that's it for the site for now. Now on to the next project....which could concievable replace the current site :)

#11
Nanaki

Nanaki

    Leg-humper

  • Member
  • PipPipPipPip
  • 507 posts
  • Joined 17-January 05
- All DriverPacks
- ACDSee, Acrobat7, Azureus, BSplayer, DC++, Dreamweaver, Fireworks, Firefox, Irfanview, Java, Kaspersky, KCeasy + FastTrack, Kerio, mIRC, msAntiSpyware, MSN, Photoshop, PowerToys, Thunderbird, FileZilla, Flash/Shockwave, all codecs, Real, Quicktime, WiMP10, Office 2k3, Nero + NeroVision + LanguagePacks, OpenOffice 2b, Paint.NET, Spybot, TrueDownloader, VMware, VMware Tools (for testing), Winamp, WinRAR, WinSCP, XPize, .NET Framework, Regshot, SiSoftware Sandra, VB6 runtimes and Steam (HL one and CS:S). All with their own seperate configurations.
- All the current Hotfixes (installed seperatly)
- XPlode
- My spiffy app ^^

Total: 973 MB

O.o
CDswitch - Making CD/DVD-switching fun. / VMcleaner - Cleaning your virtual memory by killing unnecessary tasks
WinampUser - Silently install multiuser functionality for Winamp / OfficeExec - Installing Office at T-12/cmdlines.txt
Dropper - Changing file properties by drag-'n-dropping (not for unattended use)

#12
Takeshi

Takeshi

    Legitchecking...

  • Member
  • PipPipPipPipPipPip
  • 1,104 posts
  • Joined 09-September 04
Looks very neat. Looking forward to testing it. Thanks.

If found to be stable, perhaps the moderators can add this to the download list.

#13
Alanoll

Alanoll

    CODE tags people, CODE tags!

  • Patrons
  • 5,493 posts
  • Joined 25-September 03

Looks very neat. Looking forward to testing it. Thanks.

If found to be stable, perhaps the moderators can add this to the download list.

<{POST_SNAPBACK}>

Which download list? You mean the one on the Unattended site? If so, then the moderators don't have control over it. I do :P And I already like it better then the one written by devil (no offense)
Welcome to the Forum! Please READ Me!!
Alright, that's it for the site for now. Now on to the next project....which could concievable replace the current site :)

#14
Nanaki

Nanaki

    Leg-humper

  • Member
  • PipPipPipPip
  • 507 posts
  • Joined 17-January 05

If found to be stable

<{POST_SNAPBACK}>


It's perfectly stable to be used in your discs. :)

And I already like it better then the one written by devil

<{POST_SNAPBACK}>


Which one's that? Maybe I could learn. ^^

0.4a (21-03):
- GUI variabled updated
- Image files can now be of different size. Make 'em as large as you want, the app detects the size. :)
- cdswitchback.jpg, cdswitchback.gif and cdswitchback.bmp can now be used. If multiple are found: JPG > BMP > GIF

download here

Edited by Nanaki, 19 September 2007 - 08:28 AM.

CDswitch - Making CD/DVD-switching fun. / VMcleaner - Cleaning your virtual memory by killing unnecessary tasks
WinampUser - Silently install multiuser functionality for Winamp / OfficeExec - Installing Office at T-12/cmdlines.txt
Dropper - Changing file properties by drag-'n-dropping (not for unattended use)

#15
Alanoll

Alanoll

    CODE tags people, CODE tags!

  • Patrons
  • 5,493 posts
  • Joined 25-September 03
http://unattended.ms...l/downloads.htm

CDR
Welcome to the Forum! Please READ Me!!
Alright, that's it for the site for now. Now on to the next project....which could concievable replace the current site :)

#16
Takeshi

Takeshi

    Legitchecking...

  • Member
  • PipPipPipPipPipPip
  • 1,104 posts
  • Joined 09-September 04
I meant in Unattended Tools
http://www.msfn.org/...showtopic=32957

As to this one:
http://unattended.ms...l/downloads.htm

I find having two lists somewhat inconsistent.

#17
Alanoll

Alanoll

    CODE tags people, CODE tags!

  • Patrons
  • 5,493 posts
  • Joined 25-September 03

I meant in Unattended Tools
http://www.msfn.org/...showtopic=32957

As to this one:
http://unattended.ms...l/downloads.htm

I find having two lists somewhat inconsistent.

<{POST_SNAPBACK}>

Here's the difference....
One is maintained by a forum member, where as the other is by me. Also notice, that BESIDES CMDOW, all the others are hosted on MSFN's servers.
Welcome to the Forum! Please READ Me!!
Alright, that's it for the site for now. Now on to the next project....which could concievable replace the current site :)

#18
Nanaki

Nanaki

    Leg-humper

  • Member
  • PipPipPipPip
  • 507 posts
  • Joined 17-January 05
Hmm, implementing CloseTray shouldn't be to hard, neither should ejecting all drives. I'll work on it later. I can't make it work in DOS tho, CDswitch needs Windows API's to run.

I'm open to suggestions by the way. :) (but don't ask for alpha channel support, it can't be done [yet] :P)
CDswitch - Making CD/DVD-switching fun. / VMcleaner - Cleaning your virtual memory by killing unnecessary tasks
WinampUser - Silently install multiuser functionality for Winamp / OfficeExec - Installing Office at T-12/cmdlines.txt
Dropper - Changing file properties by drag-'n-dropping (not for unattended use)

#19
Nanaki

Nanaki

    Leg-humper

  • Member
  • PipPipPipPip
  • 507 posts
  • Joined 17-January 05
0.4b (22-03): download
- Resaved base JPG, now optimal quality
- Cut size by more than half
- Integrated base JPG into executable, it is now single-exe app again. When no supplied image is found, the base image will be used.
- File properties are now correct ^^

Well, now it's ONE file again, and smaller than the previous. It's nothing "spectacular" (as far as possible for a utility like this ;)).

Edited by Nanaki, 19 September 2007 - 08:29 AM.

CDswitch - Making CD/DVD-switching fun. / VMcleaner - Cleaning your virtual memory by killing unnecessary tasks
WinampUser - Silently install multiuser functionality for Winamp / OfficeExec - Installing Office at T-12/cmdlines.txt
Dropper - Changing file properties by drag-'n-dropping (not for unattended use)

#20
bober

bober

    Member

  • Member
  • PipPip
  • 142 posts
  • Joined 17-March 05
thanks for your work. :)

#21
Nanaki

Nanaki

    Leg-humper

  • Member
  • PipPipPipPip
  • 507 posts
  • Joined 17-January 05
Thanks :) I always appreciate that ;)

<span style='font-size:9pt;line-height:100%'>

0.4 (23-03):download -- --
- Added label support with everything customizable
- Adjusted base image to support the above
- New parameter system
- Most of the stuff can now be configured
- New GUI-core to support transparent labels
- A lot of code has been replaced or rewritten
- Added silent mode. This allows to eject/close all or one drive(s) with no GUI.
- New function to support the above
- A custom picture can now be defined via a parameter
- Transparency. Alpha channel between 0 and 255 can be defined

</span>

New base-GUI:
Posted Image

Showing transparency:
Posted Image

Well, it's a pretty big release this time. First, I think about everything can be configured now, check the first post for an updated "tutorial". :)
Second, you can now close/open a tray or all trays without any window spawning. This is what CDR does I think.

That's about it, enjoy :P

Edited by Nanaki, 19 September 2007 - 08:29 AM.

CDswitch - Making CD/DVD-switching fun. / VMcleaner - Cleaning your virtual memory by killing unnecessary tasks
WinampUser - Silently install multiuser functionality for Winamp / OfficeExec - Installing Office at T-12/cmdlines.txt
Dropper - Changing file properties by drag-'n-dropping (not for unattended use)

#22
Rekenaar

Rekenaar

    Junior

  • Member
  • Pip
  • 86 posts
  • Joined 01-January 04
Sounds very nice!
Thank you for sharing it with us.
Ondersteun Afrikaans!

#23
idbirch2

idbirch2

    Junior

  • Member
  • Pip
  • 56 posts
  • Joined 10-August 04
Wow, this is a great utility! If and when I breach the 4.37GB mark with my current unattended disc, will CD-Switch work in conjuntion with WPI? i.e. can it be made in such a way that the 2nd disc is only requested if you have selected to install anything from disc 2 with WPI?

#24
Alanoll

Alanoll

    CODE tags people, CODE tags!

  • Patrons
  • 5,493 posts
  • Joined 25-September 03

Wow, this is a great utility!  If and when I breach the 4.37GB mark with my current unattended disc, will CD-Switch work in conjuntion with WPI? i.e. can it be made in such a way that the 2nd disc is only requested if you have selected to install anything from disc 2 with WPI?

<{POST_SNAPBACK}>

that would have to be internal programming of WPI itself, and not this program.
Welcome to the Forum! Please READ Me!!
Alright, that's it for the site for now. Now on to the next project....which could concievable replace the current site :)

#25
Nanaki

Nanaki

    Leg-humper

  • Member
  • PipPipPipPip
  • 507 posts
  • Joined 17-January 05
Well, I don't know much about WPI, but if it's linear like XPlode 'n stuff it would work like a charm.

See, I use it like this:

- I install programs from the first disk as normal
- Next, I use this program as "an installer", making XPlode/whatever launch it.
- When the second disk is inserted, this program closes, whereafter XPlode continues with the next installer, now reading from the next disk.

If you can work with conditional statements in WPI, perfect! If not, you'll just have to place a checkbox "CHECK THIS TO MAKE SURE THE FOLLOWING APPLICATIONS CAN BE INSTALLED"... or something like that. :P

Oh, PNG and animated GIF are supported in the next version. I just have to get rid of one lousy bug, but it's vacation now and I don't feel like looking at code. ^^
CDswitch - Making CD/DVD-switching fun. / VMcleaner - Cleaning your virtual memory by killing unnecessary tasks
WinampUser - Silently install multiuser functionality for Winamp / OfficeExec - Installing Office at T-12/cmdlines.txt
Dropper - Changing file properties by drag-'n-dropping (not for unattended use)