Jump to content

Scripting and Programming

Discussions about everything related to scripting and programming no matter of the programming language you're using.

  1. Started by George King,

    Does anybody know, how i can extract all hotifixes into folder? I want extract KBXXXXX to KBXXXXX ect... For %%A In (*.exe) DO %%A /q /x:"") I read about this %PATH:~0,-4% But dont know ho to add this line into my script...

  2. Guest
    Started by Guest,

    well since i started to reread about c++ it took me a couple of min to rewrite some simple programs but i wanted to move on and since i don't like reading for a book i wanted to find a new thing so i found this site here it's a nice site good for beginner so i wanted to share it with you guys if you got any question i understand some c++ so i can help a bit in this field Regards DM

    • 4 replies
    • 3.5k views
  3. Started by Jatin Beniwal,

    Needed help to integrate Updates in Win7.

    • 3 replies
    • 7k views
  4. Started by pri2sh,

    hi guyz i am currently making a new smf v2 theme. Since i am a bit new to smf i need some help in editing css . I have already made new graphics & replaced old icons with new icons. If some one is interested please reply me. so far it is finished around 70% , it's demo is available here : smf.66ghz.com

    • 0 replies
    • 2.2k views
  5. Started by waleder,

    how i can kill processes services (Windows Security Center Service) by cmd & haw ican disable thes by cmd thx to all

    • 5 replies
    • 4.6k views
  6. Started by George King,

    How i can do in CMD + - / *?

    • 14 replies
    • 5.9k views
  7. Started by Jatin Beniwal,

    How to merge install.wim from 32 bit & 64 bit to make it a single install.wim.

  8. Started by Legolash2o,

    Hey im having trouble splitting a wim image and keep getting "the parameter is incorrect", heres what i have.. Public Const WIM_COMPRESS_NONE As Byte = 0 Public Const WIM_COMPRESS_XPRESS As Byte = 1 Public Const WIM_COMPRESS_LZX As Byte = 2 Public Const WIM_GENERIC_READ As Long = &H80000000 Public Const WIM_GENERIC_WRITE As Long = &H40000000 Public Const WIM_Create_NEW As Byte = &H1 Public Const WIM_Create_ALWAYS As Byte = &H2 Public Const WIM_OPEN_EXISTING As Byte = &H3 Public Const WIM_OPEN_ALWAYS As Byte = &H4 Public Const WIM_CreateD_NEW As Byte = 0 Public Const WIM_OPENED_EXISTING As Byte = 1 Public Const WIM_FLAG_RESERVED As Byte …

    • 0 replies
    • 3.3k views
  9. Over the past couple of years or so, I've been scripting here and there. Since then, I've used and maintained two such scripts that have gained some popularity on other forums and sites I frequently visit. First off, I have my ever-so-popular "Jeremy Signature" that I use over at MSFN.org (it's a little too big to use here) based on the character over at Pure Pwnage. The actual one I use at the moment is a bit more customized than the one I have available for download, but it's not all that different (just a few different backgrounds): It's similar to the widely used Danasoft signatures that are out there, but integrates multiple dynamic backgrounds, customizable opera…

    • 7 replies
    • 5.3k views
  10. Started by Legolash2o,

    Does anyone know how to install drivers using cmd? thanks

  11. Guest
    Started by Guest,

    Well i was trying to do alittle cmd file i use iniman it's a little tool that reads an ini file and modify it etc when i run the file it reads the section but i want to get that section into a variable in the cmd but i don't know how to do that i'm not good at cmd just started to learn it i putted iniman in attachments Edit : I found another tool that gets this job done so nvm iniman.7z

    • 0 replies
    • 2.3k views
  12. Started by Mr.Thunderbird,

    Items you need -> Notepad -> You and your victim is running Windows 1. Open notepad 2. On the first line add wshshell.run "calc" wscript.sleep 100 wshshell.sendkeys "5" wscript.sleep 1000 wshshell.run "calc" wscript.sleep 100 wshshell.sendkeys "4" wscript.sleep 1000 wshshell.run "calc" wscript.sleep 100 wshshell.sendkeys "3" wscript.sleep 1000 wshshell.run "calc" wscript.sleep 100 wshshell.sendkeys "2" wscript.sleep 1000 wshshell.run "calc" wscript.sleep 100 wshshell.sendkeys "1" wscript.sleep 1000 wshshell.run "calc" wscript.sleep 100 wshshell.sendkeys "0" - This would make the calculater pop up, counting down from 5 to 0 with 1 second of…

    • 5 replies
    • 30.6k views
  13. Started by George King,

    Hi, i want rename part of multiple filename. Expamle hfjdksha_6000_njdjsn, ksudjaks_6000_ksidna to hfjdksha_6100_njdjsn, ksudjaks_6100_ksidna Can somebody create for me CMD script?

    • 0 replies
    • 2.6k views
  14. Started by koko78,

    i need aprogram its ( universal share dowloader )

    • 4 replies
    • 5.3k views
  15. I have edited this old post . I need suggestions on which software to use for creating GUI interference for my transformation pack windows 7 replacement. I am thinking of using software/install maker used by windowsX but donot know which one he is using. I tried Nsis but it is totally text base so i was not able to use it. so plz some one tell me which software to make a good installer.. If not Suggest me a autorun maker where user can choose which exe file to run

  16. Started by Legolash2o,

    I have noticed that the permissions for "HKEY_Classes_Root\" have TrustedInstaller permissions and cannot import registry settings for Windows 7 Toolkit addons I was wondering if anyone knew a way to take ownership of a registry key either via VB .NET or Command Prompt. Thanks

  17. Started by sayyut,

    @echo off Title Check WMI Prosesse and Start TASKLIST | find /i "cleanmgr.exe" if errorlevel==1 goto :cleanmgr goto :Rep :cleanmgr @echo Start Program cleanmgr start cleanmgr.exe goto :END :END exit :Rep @echo Process on running pause exit BATCH FILE I Know..... BUT WSCRIPT I Don'Know..... Help me.... ------------------------------------------------------------- I wold like Wscript Script Check Processes cleanmgr.exe Running... Loop Every 20 Min But Process cleanmgr.exe stop I wold like Script Start cleanmgr.exe

  18. Started by Bold_Fortune,

    Most people take this one for granted these days. They pass it around like it's Internet common knowledge. But it took me a very long time to figure out how to do this. I emailed script writers to help me. I bugged them half to death on forums. No one knew exactly how to do this. So, yes, this is my script...no matter who else you think created it. I have incorporated a failsafe feature into my batch files. Files and folders will be moved and saved (Not deleted permanently. Later that will be up to you.) to a backup folder on C:\. The backup folder is simply named "Backup". Within the Backup folder, you will find the files and folders you removed, in smart placem…

    • 2 replies
    • 4.6k views
  19. Started by NIM,

    Hi all, I have a problem with DNS setup in my domain. Here's the current situation.. We have about 40 branches and in every branch we have one domain controller. Local PC's in branches have DNS setup: Primary: Local Domain Controller Secondary: One Server that was shutdown couple of months ago. We're currently in consolidating servers in our network, in other words, recenlty we've connected our branches with 10Mbit links and now we don't need so many servers. We'll only have servers in regional centers on which will the small branches be connected to. We made a group policy GPO and have linked that GPO to our branches which servers are planned for shutdown. This GPO shoul…

    • 2 replies
    • 4.7k views
  20. Started by Jonnyboy,

    I could use a little help. I have a script that uses replace and will accept 3 variables to change text in a file. I need to change the script, to regex.replace to accept a (multiline if possible)regular expression as input. Any help would be appreciated. Thanks Dim FileName, Find, ReplaceWith, FileContents, dFileContents Find = WScript.Arguments(0) ReplaceWith = WScript.Arguments(1) FileName = WScript.Arguments(2) 'Read source text file FileContents = GetFile(FileName) 'replace all string In the source file dFileContents = replace(FileContents, Find, ReplaceWith, 1, -1, 1) 'Compare source And result if dFileContents <> FileContents Then 'write result If …

    • 5 replies
    • 5.1k views
  21. Started by Vipul,

    Dear all, This is my first post to the forum. I need a script which allows me to do following tasks: I have file named as book1.xls on my desktop I ant to zip that file which will become book1.zip After that this file will have to go to c:\personel folder. Only this much task is required. please guide me...

    • 2 replies
    • 3.1k views
  22. UPLOAD bu class public static void ResimY

    • 2 replies
    • 3.3k views
  23. Started by thedexmonster,

    I run and maintain a large cmd file to rearrange my start menu and add shortcuts that aren't there to begin with. Is it possible for someone to write a script that uses "shortcut.exe" or similar method to automatically create shortcuts out of all the files in a directory and place them in a designated area? A GUI would be awesome, but I'm assuming too much work for a small project like this. I don't like moving shortcuts around, I would much rather recreate them where I want them. Shortcut works for that but it's a pain to write a command line for every file.

    • 3 replies
    • 3.9k views
  24. Started by MGadAllah,

    • 8 replies
    • 6.2k views
  25. Started by NIM,

    Option Explicit Dim WSHShell, n, MyBox, p, itemtype, Title Set WSHShell = WScript.CreateObject("WScript.Shell") p = "HKEY_CURRENT_USER\Control Panel\Sound\" p = p & "Beep" itemtype = "REG_SZ" n= "No" WSHShell.RegWrite p, n, itemtype Title = "System Beeps are now Disabled." & vbCR Title = Title & "You may need to Log off/Log on" & vbCR MyBox = MsgBox(Title,4096,"Finished")

    • 2 replies
    • 7.7k views