Sorta odd .bat question. Odd indeed.
Results 1 to 8 of 8

Thread: Sorta odd .bat question. Odd indeed.

  1. #1
    Junior Member
    Join Date
    Sep 2004
    Posts
    11

    Lightbulb Sorta odd .bat question. Odd indeed.

    Is it possible to set your wallpaper with a batch file? I'm trying to make my whole install/config process as quick as possible and this just happens to be one of the things I'm attempting to include.

    Thanks in advance.

  2. #2
    Senior Member
    Join Date
    May 2004
    Posts
    519
    If your trying to make the install config as quick as possible... make a machine, configure it perfectly then make an image of it and dump it on a machine whenever needed.... as for your question .. i dunno heh

  3. #3
    Junior Member
    Join Date
    Sep 2004
    Posts
    11
    I don't have money for any software. Do you know of a good, free alternative? I assume you're talking about something like ghost, right?

    I'm going to go look up how that works. Sounds implausible at first. So did going to the moon, though. Hehehe...


  4. #4
    Senior Member
    Join Date
    Jun 2004
    Posts
    460
    you could create a .reg file and apply it silently using a batch file

    http://www.winguides.com/registry/display.php/1097/

    this link shows where and what registry keys need to be set/changed and then you can export the key to the .reg file

    to install a .reg file silently use the following syntax:

    regedit /s [filename].reg
    [gloworange]find / -name \"*your_base*\" -exec chown us:us {} \\;[/gloworange] [glowpurple]Trust No One[/glowpurple][shadow] Use Hardened Gentoo [/shadow]
    CATAPULTAM HABEO. NISI PECUNIAM OMNEM MIHI DABIS, AD CAPUT TUUM SAXUM IMMANE MITTAM

  5. #5
    Senior Member
    Join Date
    Jan 2003
    Posts
    3,914
    Originally posted here by user_batch
    I don't have money for any software. Do you know of a good, free alternative? I assume you're talking about something like ghost, right?

    I'm going to go look up how that works. Sounds implausible at first. So did going to the moon, though. Hehehe...

    Hey Hey,

    There are plenty of free alternatives to the Norton Ghost software....

    The first is g4u (Ghost for Unix)

    g4u ("ghost for unix") is a NetBSD-based bootfloppy/CD-ROM that allows easy cloning of PC harddisks to deploy a common setup on a number of PCs using FTP. The floppy/CD offers two functions. First is to upload the compressed image of a local harddisk to a FTP server. Other is to restore that image via FTP, uncompress it and write it back to disk; network configuration is fetched via DHCP. As the harddisk is processed as a image, any filesystem and operating system can be deployed using g4u. Easy cloning of local disks as well as partitions is also supported.
    Another very similar piece of sofeware is g4l (Ghost for Linux)

    DESCRIPTION:

    g4l is a Gh*st like set of scripts to create and restore hard drive or partition images under Linux.
    g4l comes:
    -as a two-disk set, a boot disk that loads the shipped kernel (at the moment linuxkernel 2.6.3)
    and a root disk that holds the compressed root image that is beeing loaded into the ramdisk.
    The disk set contains only the GUI version of the script.

    -as a bootable CD iso image. Only this version contains the the GUI _and_command line drive script sets!

    What can it do?

    Again, it is possible to:
    -create a (compressed) image of a local hard drive or partition
    -store this image on a ftp server
    -restore a (compressed) image from ftp directly to the desired hard drive or partition
    -clone a harddrive
    There you have 2 very good free alternatives.. They make lack some of the fringe benefits of Norton Ghost.. but they are very hand and quite useful..

    As far as actually changing your wallpaper... check out CMD/COMMAND Prompt Tools.. I'm assuming you'll have a CD or something with all these batch files on them to simplify the process.... There's a program on cmdtools.com called WallMake... it'll let you change your wallpaper from the command line.

    Peace,
    HT
    IT Blog: .:Computer Defense:.
    PnCHd (Pronounced Pinched): Acronym - Point 'n Click Hacked. As in: "That website was pinched" or "The skiddie pinched my computer because I forgot to patch".

  6. #6
    Junior Member
    Join Date
    Sep 2004
    Posts
    11
    Thanks all! That answered all my questions, plus some!

    I'm happy.


  7. #7
    Blast From the Past
    Join Date
    Jan 2003
    Posts
    729
    was it here or techtv that had a file that allowed custom windows xp installs....such as being able to install xp without IE or outlook.....or am i just crazy
    work it harder, make it better, do it faster, makes us stronger

  8. #8
    Senior Member
    Join Date
    Nov 2001
    Posts
    4,786
    to add to what djscribble said you could use the batch fike to create the reg file and then run it.

    set a machine to have the wallpaper you want to use the way its shown on the link (trusting the link gives valid info) then export the key containing the settings. open the exported .reg file in note pad and add 'echo' before each line and '>> my.reg' after each line without the single quotes of course. copy and paste the whole thing into your batch file and follow it with 'regedit /s my.reg'

    or you could just rename the background you want to the default name after giving the default background another. in windows 9.x its logo.sys but i dont believe thats true in newer versions. i dont know for sure as i dont have any boxen with default setting to check
    Bukhari:V3B48N826 “The Prophet said, ‘Isn’t the witness of a woman equal to half of that of a man?’ The women said, ‘Yes.’ He said, ‘This is because of the deficiency of a woman’s mind.’”

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •