Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Lightguns Arcade1Up Try the site in https mode Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news

  

Author Topic: Removing ALL Desktop Icons in Win98 w/o TweakUI  (Read 1696 times)

0 Members and 1 Guest are viewing this topic.

IG-88

  • Trade Count: (+7)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2042
  • Last login:July 06, 2025, 09:21:45 am
  • Posts: 48,764
Removing ALL Desktop Icons in Win98 w/o TweakUI
« on: December 30, 2006, 09:51:28 pm »
After doing some searchin' on the web I found a quick and easy way to hide the desktop icons in WIN98 that are not deletable without using TweakUI. I haven't tried this in 2K or XP yet but I will. This is a registry hack so take it easy....

Go to Start > Run, type in "regedit" then

Go to HKEY_CURRENT_USER \ Software \ Microsoft \ Windows \ Current Version \ Policies \ Explorer
From the menu select Edit > New > DWORD value
Name it NoDesktop

Double-click this entry and give it the value 1

Close the registry editor and reboot your computer

To restore the Icons on the desktop, you have to change the value of the NoDesktop Key to 0.

It worked like a champ and took about 2 minutes. This should help any of you that are using Mame32 & it's FE alone to hide some of that "Windows" look.
"I know what a HAL 9000 is... I was wondering if HAL 7600 was his retarded cousin or something..."
-HarumaN

IG-88

  • Trade Count: (+7)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2042
  • Last login:July 06, 2025, 09:21:45 am
  • Posts: 48,764
Re: Removing ALL Desktop Icons in Win98 w/o TweakUI
« Reply #1 on: December 30, 2006, 10:15:38 pm »
Well, I just tried this on my 2k machine and it works fine. I'm guessing it will work on XP too but I'll check tomorrow.

I should also say that if you want some of your desktop icons available but not seen ( like "my computer" or the "recycle bin" ) you and just drag them onto/into the "Start" button before performing the reg hack.
"I know what a HAL 9000 is... I was wondering if HAL 7600 was his retarded cousin or something..."
-HarumaN

hsr

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 100
  • Last login:October 26, 2024, 01:53:44 pm
    • My Robotron Mame Cabinet
Re: Removing ALL Desktop Icons in Win98 w/o TweakUI
« Reply #2 on: December 30, 2006, 11:24:37 pm »
Another Win98 option to hide the desktop is to not use it all.  In c:\windows, resides your system.ini file.

You can edit this file to have the line that reads:

shell=explorer.exe

to

shell=mame32.exe (or really any other executable).

In my case, the computer boots directly into Mala with shell=mala.exe.  I saved the modified system.ini as system.mla (for Mala) and retained a copy of the original un-modified system.ini as system.win

I made a bootable floppy, and copied system.win and system.mla to it.  Then made two batch files also stored on the floppy.

mala.bat (which contains)
copy system.mla c:\windows\system.ini

and

win.bat (which contains)
copy system.win c:\windows\system.ini

I put the floppy in the drive of the computer inside my cabinet.  Ran mala.bat from a: then reboot from the hard disc.  This launches directly into Mala.

If I need to do any maintenance, I can just boot from the floppy and run win.bat from a: then reboot from the hard disc.  This will boot me back in Windows98.

I'm going to play with your method IG-88 and see which I like better and/or which one leaves more RAM available.

Thanks for the tip.
« Last Edit: December 30, 2006, 11:31:38 pm by hsr »
Jeff

hsr

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 100
  • Last login:October 26, 2024, 01:53:44 pm
    • My Robotron Mame Cabinet
Re: Removing ALL Desktop Icons in Win98 w/o TweakUI
« Reply #3 on: December 30, 2006, 11:28:41 pm »
You can edit this file to have the line that reads:

shell=explorer.exe

to

shell=mame32.exe (or really any other executable).

A quick note on this:  The executable and supporting files (like mame32.exe, etc) or a copy of, need to reside in windows directory for this to work.
Jeff

WareWolF

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 137
  • Last login:January 21, 2023, 02:42:16 pm
Re: Removing ALL Desktop Icons in Win98 w/o TweakUI
« Reply #4 on: December 31, 2006, 02:43:42 pm »
Add mame to your path and it should run without having to be copied into you windows directory.

Just put

Path=%path%;c:\mame32

in your autoexec.bat

IG-88

  • Trade Count: (+7)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2042
  • Last login:July 06, 2025, 09:21:45 am
  • Posts: 48,764
Re: Removing ALL Desktop Icons in Win98 w/o TweakUI
« Reply #5 on: December 31, 2006, 05:25:17 pm »
Are you saying to put that exactly as you typed it? Does this boot directly into Mame then? How do you "undo" it and get back to windows if you have to?
"I know what a HAL 9000 is... I was wondering if HAL 7600 was his retarded cousin or something..."
-HarumaN

hsr

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 100
  • Last login:October 26, 2024, 01:53:44 pm
    • My Robotron Mame Cabinet
Re: Removing ALL Desktop Icons in Win98 w/o TweakUI
« Reply #6 on: December 31, 2006, 05:46:52 pm »
Are you saying to put that exactly as you typed it? Does this boot directly into Mame then? How do you "undo" it and get back to windows if you have to?

I think WareWolf's comment was directed at my posts.  He was saying if you put the path to where the whatever.exe file is (in your case Mame32.exe) that the executable would not need to reside in the windows directory.

I agree with his statement.

If you simply put his string in your autoexec file, it will try to execute the command in DOS before ever getting to Windows.  I really don't think Mame32 will run from there.
Jeff

hsr

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 100
  • Last login:October 26, 2024, 01:53:44 pm
    • My Robotron Mame Cabinet
Re: Removing ALL Desktop Icons in Win98 w/o TweakUI
« Reply #7 on: December 31, 2006, 05:49:35 pm »
Are you saying to put that exactly as you typed it? Does this boot directly into Mame then? How do you "undo" it and get back to windows if you have to?

If you were asking me, that is the purpose of the two system.ini (one for windows and one for the application) that I put on the floppy.  Just writing either of them back to the windows directory, which is handled by the two batch files listed above is what allows me to boot into the application or into Windows.
Jeff

IG-88

  • Trade Count: (+7)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2042
  • Last login:July 06, 2025, 09:21:45 am
  • Posts: 48,764
Re: Removing ALL Desktop Icons in Win98 w/o TweakUI
« Reply #8 on: December 31, 2006, 07:53:08 pm »
I always forget to quote. I was asking WareWolf but thanks for the answer. So I shouldn't put that string in my autoexe.bat 'eh?  ;)

I like your idea too it's just I've never delt with .bat files much so I am a little leary.
"I know what a HAL 9000 is... I was wondering if HAL 7600 was his retarded cousin or something..."
-HarumaN

hsr

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 100
  • Last login:October 26, 2024, 01:53:44 pm
    • My Robotron Mame Cabinet
Re: Removing ALL Desktop Icons in Win98 w/o TweakUI
« Reply #9 on: January 01, 2007, 03:02:43 pm »
IG,

I don't think my method is going to work 100% with Mame32.  The included front end of Mame32 does not have (or at least I can't find one) a feature to automatically shut down the computer after you exit the emulator.

I set up one of my computers with the mame32.exe in the system.ini file at the shell= line.  After exiting Mame32, I'm left at a black dead screen.  I just pressed the power button to shut the computer off.  It ran scan disc when I rebooted.

Guess you could get around this if you built a single button press relay power strip like SpyStyle's.

Your solution (original post at the top of this thread) appears to be a really good method for Mame32 users.

I had already setup the computer in my cabinet with Mala and command line Mame because Mala will shutdown windows and the computer when I exit the front end.

Again, nice find and thanks for sharing the tip.
Jeff