Over 1 million tech questions and answers.

Creating a batch script or use a 3rdpartyprogram to create shortcuts

Q: Creating a batch script or use a 3rdpartyprogram to create shortcuts

Hello!

I'm having trouble creating a batch script to simply copy a shortcut to the desktop from a program installation, then carry out some tasks.

Overall my goals are:
Burn a CD that includes a autorun.inf that will load a batch script
In the script I want it to activate two self extraction archives
1.
activate a self-extraction archive to install the necessary files to C:\Program Files (x86)\Software
2. (once 1. completes)
activate a self-extraction archive to install the necessary files to C:\Program Files (x86)\Software\Content

Then finally have the batch script create a shortcut from C:\Program Files (x86)\Software\Softwarename.exe
to
%userprofile%\Desktop\softwarename.ink

Any advice will be appreciated. thanks in advance..

RELEVANCY SCORE 200
Preferred Solution: Creating a batch script or use a 3rdpartyprogram to create shortcuts

I recommend downloading and running Reimage. It's a computer repair tool that has been proven to identify and fix many Windows problems with a high level of success.

I've used it in the past to identify and fix everything from blue screens (BSOD's), ActiveX errors, corrupt files and processes, dll/exe/sys errors, recover lost memory, Windows update problems, defragging, malware removal etc.

You can download it direct from this link http://downloadreimage.com/download.php. (This link will automatically start a download of Reimage that you can save to your computer.)

A: Creating a batch script or use a 3rdpartyprogram to create shortcuts

Still looking for a solution!

Read other 4 answers
RELEVANCY SCORE 100

so im an IT specialist at a big car dealer ship im not that good with scripting but what i want to do is when i go around to a computer i want to be able to put a flash drive in run a batch script that creates a folder on the C drive transfers a few files (xml and .bat ) to that folder then from that folder i want to run the batch script that will create a scheduled task to run ccleaner when the pc is in idle for 10 min
we have 600+ pc's some are on the domain some are off the domain with various user names/passwords and pc names also different os's (xp win 7 and some vista) some are 32 bit but most are 64 bit


ok so i made a scheduled task on my pc then exported the XML i put the files on a flash drive then i made a batch to copy the other batch scripts/xml's to a folder on the c drive (that part im having no issue with )only issue i have is when i try to run the batch to make the task on a different pc then the one i created it on i get a message saying "error: no mapping between account names and security ID's was done <17,8>:logon type
i plan on just popping in the flash drive and running these scripts as i go around doing the preventive maintenance or wile im on a pc to troubleshoot an issue


here are my scripts

this one is run off the flash drive and creates a folder on the c drive i have no issues with that but im posting it just as a reference

@echo off
REM Check if 32 or 64-bit OS
if "%Processor_Architecture%"... Read more

A:creating a batch script to create a scedualed task on multiple pc's

Hi there,








  
Quote: Originally Posted by joeykong


only issue i have is when i try to run the batch to make the task on a different pc then the one i created it on i get a message saying "error: no mapping between account names and security ID's was done <17,8>:logon type


Is this the only issue?

It's not a problem with batch but with Task Scheduler. Before you can import a task that originated from another computer, data contained in the "UserId" element of the task xml has to be changed to match up with a user that exists on the machine you are importing the task to.

E.g.

Code:
<Principals>
<Principal id="Author">
<UserId>COMPUTERNAME\Username</UserId>
<LogonType>InteractiveToken</LogonType>
<RunLevel>LeastPrivilege</RunLevel>
</Principal>
</Principals>
The part in red must be changed to one of the users of the machine you are trying to importing this task to.

Read other 2 answers
RELEVANCY SCORE 79.2

Hi. I have Googled this without success. Does anyone know of a script (or is able to write one?) which will batch convert a folder (+ subfolders) full of shortcuts so that they all open the application they link to (in the case, Microsoft Flight Simulator) in a maximized, not 'normal' window?

I have over a thousand of these shortcuts and opening each one's properties window and changing 'normal' to 'maximized' is not really an option!

Not really a 'Windows 7' question specifically of course, but maybe someone here will know anyway?

Thanks,

Martin

A:Batch script to change how applications open from shortcuts

See here for the answer:

Batch script to change how applications open from shortcuts - Tech Support Guy Forums

Martin

Read other 1 answers
RELEVANCY SCORE 79.2

Hi. I have Googled this without success. Does anyone know of a script (or is able to write one?) which will batch convert a folder (+ subfolders) full of shortcuts so that they all open the application they link to (in the case, Microsoft Flight Simulator) in a maximized, not 'normal' window?

I have over a thousand of these shortcuts and opening each one's properties window and changing 'normal' to 'maximized' is not really an option!

Thanks,

Martin
 

A:Batch script to change how applications open from shortcuts

Read other 8 answers
RELEVANCY SCORE 77.2

Hello 7,

This is how to create shortcuts for the Advanced Disk Cleanup feature. I keep mine in my Start Menu
These shortcuts do not require batch files or command window, and they execute immediately. Just follow the steps below!

NOTE: You MUST be logged in as an administrator to complete this tutorial.

Advanced System Cleanup: Configure Options Shortcut

1. Right click on the desktop and select New/Shortcut
2. Insert this for the location
Code:
C:\Windows\System32\cleanmgr.exe /sagesetup
NOTE: You MUST leave a space between 'cleanmgr.exe' and '/sagesetup' or this shortcut will not work.

3. Press Next

4. Name the shortcut anything you wish
5. Click Finish
You should have a shortcut that looks like this

6. Right click on the shortcut and select 'Properties'

7. Customize the "hover" text by filling in the 'Comment' field.
8. Click the 'Advanced' button9. Select the option for 'Run as administrator'
The shortcut is complete. Now when you double click it you will have a options dialog for configuring all of the advanced cleanup features.

Advanced System Cleanup: Run Cleanup Shortcut

To create this shortcut follow the same steps as mentioned above, but change the 'Location' to


Code:
C:\Windows\System32\cleanmgr.exe /sagerun
NOTE: You MUST leave a space between 'cleanmgr.exe' and '/sagerun' or this shortcut will not work.

Here is how I configured the 'Properties' for this shortcut
REMEMBER: Change the 'Advanced' setting t... Read more

A:Advanced Disk Cleanup - Create Shortcuts Without A Batch File!

Would these same shortcuts (and the method to create them) be usable with Vista? Thanks.

Read other 5 answers
RELEVANCY SCORE 76.4

Hi,I tend to do the following alot:
Create multiple folders, give them specific names
open the folders, fill them with shortcuts to programs
change the names of the shortcuts
change the icons of the shortcuts

So I am wandering, is it possible to create a script to do the above?

1.) create several folders, give them different names
2.) fill the folders with shortcuts to programs having the correct names and icons
 

A:script - create folders containing shortcuts to programs

Copy the code below into a text file and rename the .txt extension to .vbs

Just change the "Create Folder Path" (line 2) to reflect where you want the destination folder to be created. Also change the Save Path and Link name in line 4 as well as the Target path of your application in line 5. Save the file and then double click to execute. You will need to refresh your desktop or directory by clicking F5 in order to show the newly created folder. In my example below I copied the file MSConfig.exe to the root of my C: drive and then used the script to create a shortcut to it inside the folder "Test" on my desktop. I'm not sure how to change the icons via code so maybe someone else could help out ??
Code:
Set fso = CreateObject("Scripting.FileSystemObject")
Set f = fso.CreateFolder("C:\Documents and Settings\euza116\Desktop\Test")
Set objShell = WScript.CreateObject("WScript.Shell")
Set objShortCut = objShell.CreateShortcut("C:\Documents and Settings\euza116\Desktop\Test\Your_Link_Name.lnk")
objShortCut.TargetPath = "C:\MSConfig.exe"
objShortCut.Description = "Shortcut_to_ MSConfig"
objShortCut.Save

Here is the same code in VBA Just change the path names to reflect the correct application and save paths. You can add this code to a module within MS Word or Excel or other MS Office Application.
Code:
Public Sub CreateDirectory()

Set objShell = CreateObject("WScript.Shell"... Read more

Read other 3 answers
RELEVANCY SCORE 76.4

I have the following batch script


Code:
@echo off

setlocal enableextensions

set "baseName=dnshistory"

set "count=0"
for /f "delims=%baseName%." %%a in (
'dir /b /o-d "%baseName%*.txt" 2^>nul'
) do ( set /a "count=%%a+1" & goto saveData )

:saveData
ipconfig /displaydns | find "Record Name" > "%baseName%%count%.txt"
The problem is that when i run it on my windows 7 desktop, it creates an empty txt file in comparison to my windows 8 laptop, where it creates the dns record that i need.

Does anyone knows why this happens on windows 7 ?

A:Windows 7 creating blank txt file after running a batch script

Usually inserting a bunch of "echo" statements will give a hint what's wrong. Just like using MsgBox in other programming languages.

Read other 3 answers
RELEVANCY SCORE 76.4

I want to create a batch script which can search for .jpg and .jpeg

I am new to this script language, so don't no how to search, so I am posting this thread here.

Please can anyone tell me the batch script which can search all drives and folders and subfolders in a computer for .jpg and .jpeg, once found they must get copied.

Please help me with this, please give me the script code for this.

Read other answers
RELEVANCY SCORE 75.6

Hi everybody - My problem is that I have 100 identical printers, all the printers have network connectivity onboard.

I want to create 100 print queues for these printers, however I don't really want to add each lpr port/print queue manually !! Is there anyway that this can be done via script or batch file ??

Thanks in advance

Ron
 

Read other answers
RELEVANCY SCORE 75.6

Create a batch script for Oracle ODBC connection
 

Read other answers
RELEVANCY SCORE 75.6

Hello,

I have the following batch file that works great, until I happen to execute it on a file with a + in it.

@echo off
cls
for /r %%f in (*txt) do copy %%f m:\text files

I searched around for a bit, but I couldn't get any of the information I found about escape characters to work. How can I make the batch file treat the file name in %%f as a literal?

Thanks!
 

A:Batch script to create files with special characters

Read other 10 answers
RELEVANCY SCORE 74.8

I was wondering if there was a way to create a set of folders in a specific directory according to a date range that i input.

ie.

Select start date 2011 10 01

select end date 2012 10 01

Select Output path of c:\users\XXXX\desktop\export data

and it creates a folder for all days from 2011 10 01 through 2012 10 01 and places them in the output path i have set for it.

any help would be greatly appreciated.

Thank you

A:Is there a Script or batch file that can create folders by date range

Welcome damjohnron to the windows 7 forums.

Here are some snippits of a dos batch file that will create a directory with the datek and tell you if it already exists.


set DATEST=%DATE:~10,4%%DATE:~4,2%%DATE:~7,2%
echo %datest%
rem if it looks ok, then you can press enter to continue
pause
if exist %homepath%\documents\%datest% goto dup1
md %homepath%\documents\%datest%
rem the pause can be taken out if you wish.
pause
go to end
:dup1
rem you already have done this.
pause
:end

you can change the path statement to the directory you wish.

This batch file can be run each day that you want to create a new sub directory.
There are other ways to do this but a bit more complicated such as reading an external
text file for the directory names.

Rich

Read other 4 answers
RELEVANCY SCORE 72.4

Hi,
Can anyone help me how to create a batch file or vbs script to install multiple windows patch (.exe) file from a network share folder. Also I want get the individual log file of all user including hostname.
So please help me because we need to deploy multiple patches in around 100 PC and we are not using any WSUS  server and windows automatic update.

Thanks & Regards
Rakesh Kumar

Rakesh Kumar

Read other answers
RELEVANCY SCORE 62

I am having a problem with a batch script that prompts a user to enter a set of responses which then set variables - Then the script will call in another batch and writes the output to a new Batch file.

The problem is the batch file doesn't output the new Batch file the way I intended.

This is the script I have:

BEGIN.BAT

:START
@ECHO OFF
CLS
ECHO.
ECHO Please enter the full filename reference (e.g. 1-210208)
ECHO.
SET REFERENCE=
SET /P REFERENCE=
CLS
ECHO.
ECHO Please enter the full description (e.g. 12:15 on Thursday 21 FEBRUARY 2008)
ECHO.
SET Description=
SET /P Description=
CLS
ECHO.
ECHO Please enter the date reference (e.g. 210208)
ECHO.
SET DTE=
SET /P DTE=
CLS
ECHO.
ECHO Please enter the reservation slot time (e.g. 1215)
ECHO.
SET TME=
SET /P TME=
CLS
ECHO.
ECHO Please enter the script file you are replacing (e.g. 001)
ECHO.
SET Replace=
SET /P Replace=
CLS
ECHO.
ECHO Please enter the continuing script file (e.g. 002)
ECHO.
SET NxtFile=
SET /P NxtFile=
CALL "\\hbeu\DfsRoot\GB002\Retail\405447\SYSTEMS\SHARED\INET\ONE\ADMIN\TEMPLATE.CMD">"\\hbeu\DfsRoot\GB002\Retail\405447\SYSTEMS\SHARED\INET\ONE\DATES\%Replace%.BAT"
CLS
ECHO.
ECHO REPLACEMENT OF %Reference% completed!
PAUSE
GOTO START

TEMPLATE.BAT

ECHO @ECHO OFF
ECHO CLS
ECHO IF EXIST "\\hbeu\DfsRoot\GB002\Retail\405447\SYSTEMS\SHARED\INET\ONE\%REFERENCE%.TXT" (
ECHO GOTO NEXT
ECHO ) ELSE (
ECHO GOTO EXIST
ECHO )
ECHO :EXIST
ECHO ECHO.
ECHO ECHO %DESCRIPTION% IS AVAILABLE
E... Read more

A:Help with Batch script that creates a Batch script

Try This

Template.Bat
Code:

@ECHO OFF
CLS
IF EXIST "\\hbeu\DfsRoot\GB002\Retail\405447\SYSTEMS\SHARED\INET\ONE\%REFERENCE%.TXT " (
GOTO NEXT
) ELSE (
GOTO EXIST
)
:EXIST
ECHO.
ECHO %DESCRIPTION% IS AVAILABLE
ECHO.
ECHO Would you like to reserve this time?
ECHO.
ECHO Yes (Y) or No (N) or Cancel (C)
ECHO.
:ERROR
SET CHOICE=
SET /p CHOICE=Enter response to continue (Case sensitive):
IF not '%choice%'=='' set choice=%choice:~0,1%
IF '%choice%'=='Y' goto YES
IF '%choice%'=='N' goto NEXT
IF '%choice%'=='C' goto CANCEL
ECHO "%choice%" is not valid please try again
ECHO.
GOTO ERROR
:YES
ECHO %DESCRIPTION%>>"\\hbeu\DfsRoot\GB002\Retail\405447\SYSTEMS\SHARED\INET\ONE\ %REFERENCE%.TXT"
ECHO RESERVED BY %FullName%>>"\\hbeu\DfsRoot\GB002\Retail\405447\SYSTEMS\SHARED\INET\ONE\%REFERENCE%.TXT"
ECHO LOCATED ON %Team%>>"\\hbeu\DfsRoot\GB002\Retail\405447\SYSTEMS\SHARED\INET\ONE\%REFERENCE%.TXT"
ECHO STAFF ID IS %USERNAME%>>"\\hbeu\DfsRoot\GB002\Retail\405447\SYSTEMS\SHARED\INET\ONE\%REFERENCE%.TXT"
ECHO "%DATE%","%TIME%","%USERNAME%","%FullName%","%Team%","%DTE%","%TME%">>"\\hb eu\DfsRoot\GB002\Retail\405447\SYSTEMS\SHARED\INET\ONE\LOG\AUDIT.CSV"
ECHO.
ECHO Thank you %FullName% - Your reservation has been successful.
ECHO.
PAUSE
:NEXT
CALL "\\hbeu\DfsRoot\GB002\Retail\405447\SYSTEMS\SHARED\INET\ONE\DATES\002.BAT&quo... Read more

Read other 3 answers
RELEVANCY SCORE 60.8

I'm looking for a way to create click-able Icons/shortcuts for various keyboard shortcuts (ctrl+..., etc.).
[My mouse is very acessable, but my keyboard is not. I know about various on-screen keyboards; but I would prefer clickable Icons that I could put in my quick launch toolbar, for example.]

Is this possible to do within XP, or with some program I can install?

Thanks in advance for any help.

 

A:Create Icons/shortcuts for keyboard shortcuts?

maybe THIS is for you.
 

Read other 2 answers
RELEVANCY SCORE 55.6

I am unable to create a shortcut in the startup folder on my Dell Optiplex 780. Every time I try, I get the following error, "Windows cannot create a shortcut here. Do you want to place the shortcut on the desktop instead?" No I do not want it on the desktop, I want the program to start with Windows. I tried, dragging the shortcut to the startup folder, tried copying and pasting the shortcut into the folder, that only opens it with applications that are already in the startup folder. I tried dragging the exe and selecting "create shortcut here." none of which worked. All results that I found on Google that people said that worked. None of them worked for me. All the results were about 'all users/startup' but I am only dealing with my own user and dragging from folder in start menu to the startup folder which none of the results covered.

Any ideas?

A:Unable to create shortcuts in startup folder "cannot create shortcut"

Sylveon am not sure on this one but I know in 10 (I stand to be corrected) that one can add apps to run at start up - I don't know how to actually do because I always keep my start up items to the very minimum and have no need to do that. For the record the more you have running at start up will slow down the boot and do you really want thta??

Also I think when you load softwares a lot will ask if you want them to run at start up so without knowing what you want to add cannot comment on that.

Read other 3 answers
RELEVANCY SCORE 55.6

Is it possible in any way to make shortcuts (.lnk files) using command prompt/batch files without using any 3rd party apps?
I did some googling and found this Solutions found on alt.msdos.batch - Creating Shortcuts in NT but cant make anything out of it.

Appreciate any comments and help.

A:Make shortcuts using a batch file

You can use the start command:

@echo off

start /max "C:\Windows\System32\Notepad.exe" (or another path)

Read other 7 answers
RELEVANCY SCORE 55.2

I want to create some desktop short cuts so tha I can acess specific websites more quickly than waiting for IE to load and locate the sites.

Can I create the shortcut from a website or is there somewhere else I need to go to do this? Is there a way to create a short cut by just typing in the url?
 

A:Creating Shortcuts

bjnns

Open the web page you want a shortcut to, then
File/Send/Shortcut to desktop

If you have IE7 and the menu bar is missing just press ALT to access them

To make them permanent right click Toolbar and select &#8220;Menu Bar&#8221;
 

Read other 2 answers
RELEVANCY SCORE 55.2

Hi,
 
Whenever I insert a USB(pen drive) in my laptop, shortcuts gets created in the pen drive. Please help.. 

A:Shortcuts creating in USB

Hi, sounds like your laptop is infected with some sort of a worm.We need to run a FRST-scan: Please download Farbar Recovery Scan Tool and save it to your Desktop.(If you are not sure which version (32-/64-bit) applies to your system, download and try to start both of them as just the right one will run.)Start FRST with administator privileges.Make sure the option Addition.txt is checked and press the Scan button.When finished, FRST will produce two logs (FRST.txt and Addition.txt) in the same directory the tool was run from.
Please copy and paste these logs in your next reply.

Read other 2 answers
RELEVANCY SCORE 55.2

Hello TSF I'm in a pickle. I just turned on my computer and to find out that 4 shortcuts were created while the computer was shutdown, "Find Romance", Nude Celebs", "Popupblocker", "Remove Porn." I tryed to find the files through proerties but it just gave me web addresses. So i tryed my viruse scanner, Adaware, Spy-bot and now HijackThis. I have the Log right here:

Logfile of HijackThis v1.99.1
Scan saved at 10:34:26 PM, on 7/19/2005
Platform: Windows XP SP2 (WinNT 5.01.2600)
MSIE: Internet Explorer v6.00 SP2 (6.00.2900.2180)

Running processes:
C:\WINDOWS\System32\smss.exe
C:\WINDOWS\system32\winlogon.exe
C:\WINDOWS\system32\services.exe
C:\WINDOWS\system32\lsass.exe
C:\WINDOWS\system32\Ati2evxx.exe
C:\WINDOWS\system32\svchost.exe
C:\WINDOWS\System32\svchost.exe
C:\Program Files\Common Files\Symantec Shared\ccSetMgr.exe
C:\Program Files\Common Files\Symantec Shared\ccEvtMgr.exe
C:\WINDOWS\system32\spoolsv.exe
C:\WINDOWS\system32\Ati2evxx.exe
C:\WINDOWS\Explorer.EXE
C:\Program Files\Symantec AntiVirus\DefWatch.exe
C:\WINDOWS\eHome\ehRecvr.exe
C:\WINDOWS\eHome\ehSched.exe
C:\Program Files\Symantec AntiVirus\Rtvscan.exe
C:\WINDOWS\system32\ZoneLabs\vsmon.exe
C:\WINDOWS\system32\dllhost.exe
C:\WINDOWS\ehome\ehtray.exe
C:\Program Files\Common Files\Symantec Shared\ccApp.exe
C:\PROGRA~1\SYMANT~1\VPTray.exe
C:\Program Files\Zone Labs\ZoneAlarm\zlclient.exe
C:\Program Files\VTECH\EXSOUND Station\EXSOUNDStation.exe
... Read more

A:Self-creating shortcuts?

And We're Back!

Please print out or copy this page to Notepad in order to assist you when carrying out the following instructions.

Notes

1. Before you do anything else, please create a folder for HijackThis and put it in a permanent folder (like C:\HJT) instead of the Temp folder. This is required because HijackThis will create backups and we don't want them to be deleted.

2. Are these icons still there?? or did the preliminary scans fix them up??

3. Also - did you set gophersearch as your homepage???


View Hidden Files and Folders
Go to My Computer >Tools >Folder Options >View tab and make sure that Show hidden files and folders is enabled. Also make sure that the System Files and Folders are showing / visible. Uncheck the Hide protected operating system files option.


Boot Into Safe Mode
Reboot your system in Safe Mode (By repeatedly tapping the F8 key until the menu appears).


Potential Uninstallations
Click > Start > Control Panel > Add / Remove Programs and uninstall the following programs:
IMesh


Start HijackThis Fix
Open Hijack This and click on Scan. Check the following entries (make sure you do not miss any)

O2 - BHO: DownloadRedirect Class - {00000000-6CB0-410C-8C3D-8FA8D2011D0A} - C:\Program Files\iMesh\iMesh5\iMeshBHO.dll
O2 - BHO: ohb - {22DFEAE8-9AD2-4FC6-9CBA-A6566CA3B6EB} - C:\WINDOWS\system32\gpstool.dll
O2 - BHO: iMeshBar BHO - {5345A7A1-805A-4923-B505-86B2FEBA3FE0} - C:\Program Files\iMeshBar\bar\... Read more

Read other 1 answers
RELEVANCY SCORE 55.2

Hi all, I have just started using stacks with rocket dock and its fab but i am having a little problem creating some shortcuts for certain apps. I have created a folder in my documents with the shortcuts i want in there, i have then put this folder onto my doc but when i try and open one of the shortcuts through the dock for example microsoft security essentials it wont open. The same happened when i tried to create a shortcut for the windows defrag program, but all the other shortcuts work fine. Have i done something wrong?

Hope someone can shed some light for me

Many thanks

Craney

A:Help with creating shortcuts

Shortcuts need to be created a certain way with Windows 7. The shortcut tutorial section should help you make them better. Click on the one named shortcuts upper right.


http://www.sevenforums.com/tutorials/?filter

Read other 4 answers
RELEVANCY SCORE 54.8

Hi, i am having problems with creating shortcuts on my desktop. when i select send to desktop (create shortcut) it comes up with the error:

Windows could create the shortcut. Check to see if the disc is full.

I have over 180 GB free space left.


To get things to the desktop i can drag it into the tab section next to the start icon, and then drag onto desktop.
But when i do this i am always required to give permission and it creates two desktop icons.


i have been having problems with my catalyst control centre but i dont think they are related.

A:Cannot create shortcuts on desktop "windows could not create the shortcut"

It may not be it, but it doesn't hurt to do a quick scan with
Malwarebytes

I had something where I could not delete files in Explorer even with a "delete on next boot" type utility. Turns out there was a Registry hack something about "ExplorerNoChange" or some crap. Malwarebytes cleaned it right off and things were back to normal.

You may have gotten some prank registry setting that's not allowing you to properly create icons on the desktop. It's a possibility.

Read other 18 answers
RELEVANCY SCORE 54.4

hi all.

win XP X64 SP2. i recently installed windows media player 11, and since i have, i found that the os now creates new shortcuts to my DVD burner drive every time i use the drive to play a disk or burn. in other words, if i watched a movie, there would be a shortcut to the drive, which would have the movie name.

i am using the windows classic theme on my desktop. i suspect there is an option to turn this off, but i have no clue as to what it might be. the funny thing is that i never use WMP, so i don't understand how it is making shortcuts.

TIA! the pripster

Read other answers
RELEVANCY SCORE 54.4

Hi Guys, I've been trying to remove a few virus/trojans from the friends PC for a while now. I think i've got most of them off - however maybe someone can pick something strange up in my Hijack This log below-I've used Malwarebytes, CCleaner, Trojan Remover, Spyware Blaster, Spyware Doctor AND CombofixIE is allowing me to be on the internet now (posting from the PC) but it's just creating shortcuts to IE on the desktop when I click it's icon.. Anything strange happening here??[codebox]Logfile of Trend Micro HijackThis v2.0.4Scan saved at 4:56:46 PM, on 26/07/2010Platform: Windows XP SP2 (WinNT 5.01.2600)MSIE: Internet Explorer v6.00 SP2 (6.00.2900.2180)Boot mode: NormalRunning processes:C:\WINDOWS\System32\smss.exeC:\WINDOWS\system32\winlogon.exeC:\WINDOWS\system32\services.exeC:\WINDOWS\system32\lsass.exeC:\WINDOWS\system32\svchost.exeC:\WINDOWS\System32\svchost.exeC:\Program Files\Intel\Wireless\Bin\EvtEng.exeC:\Program Files\Intel\Wireless\Bin\S24EvMon.exeC:\Program Files\Intel\Wireless\Bin\WLKeeper.exeC:\WINDOWS\system32\spoolsv.exeC:\Program Files\Common Files\Apple\Mobile Device Support\AppleMobileDeviceService.exeC:\Program Files\Bonjour\mDNSResponder.exeC:\Program Files\Java\jre6\bin\jqs.exeC:\Program F... Read more

A:IE Hijack Log - Creating Shortcuts

Hello and welcome to Bleeping ComputerWe apologize for the delay in responding to your request for help. Here at Bleeping Computer we get overwhelmed at times, and we are trying our best to keep up. Please note that your topic was not intentionally overlooked. Our mission is to help everyone in need, but sometimes it takes just a little longer to get to every request for help. No one is ignored here.If you have since resolved the original problem you were having, we would appreciate you letting us know. If not please perform the following steps below so we can have a look at the current condition of your machine. If you have not done so, include a clear description of the problems you're having, along with any steps you may have performed so far.Upon completing the steps below I will review and take the steps necessary with you to get your machine back in working order clean and free of malware.If you have already posted a DDS log, please do so again, as your situation may have changed.Use the 'Add Reply' and add the new log to this thread.Thanks and again sorry for the delay.We need to see some information about what is happening in your machine. Please perform the following scan:Download DDS by sUBs from one of the following links. Save it to your desktop.DDS.scrDDS.pifDouble click on the DDS icon, allow it to run.A small box will open, with an explaination about the tool. No input is needed, the scan is running.Notepad will open with the results.Follow the instructions... Read more

Read other 2 answers
RELEVANCY SCORE 54.4

Hello reader,

I installed Windows 10 a couple days ago, and since then it started creating shortcuts for every file i save. I tried it with Microsoft word and folders, both get shortcuts. Does anyone know what could cause this?

Best regards,
Jordy

A:Windows 10 creating shortcuts

How are you saving files? The "send to" menu option in Windows 10's File Manager has a "Create shortcut" selection that's easy to confuse when copying files.

http://www.tomshardware.com/faq/id-2...s-windows.html

Is a shortcut created when you Ctrl-C, Ctrl-V to copy and paste a file.

Are the shortcuts created when you save from a specific application?

Are you saving to a local, network or "cloud" drive?

Read other 3 answers
RELEVANCY SCORE 54.4

The keyboard shortcut WinKey + E opens up windows explorer. Is it possible to make your own custom keyboard shortcuts with the windows key? I've not had any success in mapping the Windows Key.

A:Creating shortcuts with Windows Key?

Hello Cyborg31,

My name is Dhiren and I work for the Social Media and Community Team at Dell.

The windows key is by default mapped to perform other functions(shortcuts) within windows .
Please refer to the below mentioned link for the list of available shortcuts for windows key . The list is available under the "Windows logo keyboard shortcuts "Tab.

Keyboard shortcuts

However, You can customize a combination of other keys to open other programs.
The below mentioned link can be of assistance.

Create keyboard shortcuts to open programs

Alternatively ,you can also download third party applications line Autohotkey,perfect keyboard ,etc. available over the internet to create and customize various shortcuts or macro as desired.

Hope you find this post useful.

Regards,

Dell-DhirenA
Social Media Responder

Read other 1 answers
RELEVANCY SCORE 54.4

Hi there I was wondering about two things in particular that are really baffling me. First... is there any possible way that I could create an actual ".exe" or u3 program on my u3 flash drive that would act as a shortcut to something else on my flash drive besides another exe file. I have tried shortcut-creator-for-u3 (only makes shortcuts to other .exes) and package factory [only puts .exe programs in .u3p (U3 file) format]. What I want is something that would link to... say... a .swf or a .html or even just to another folder where those files are located. How would I go about doing this? What kind of converter would I need? However I did it, the directory would have to be able to 'adapt' to any computer that is u3 compatible. Please help this would make my life sooooooooo much easier... thanks in advance. ANYTHING related to ANY of this would be of great help. Thanks again .
 

Read other answers
RELEVANCY SCORE 54.4

Hi--

I am hoping that someone cans help me solve this problem. I am trying to create shortcuts for my desktop and I am not able to anymore.

I right click, press send to desktop and nothing happens...

Please help....

Thank you very much!!

Steve
[email protected]
 

A:trouble creating shortcuts

Read other 11 answers
RELEVANCY SCORE 54.4

Hello!

I have created a java application. and I want to give it to my friend who does not have java installed on his machine.So I want to give him java setup and only a jar file of my application.
For that I created batch file as follows:

set path=d:\Test 3\jdk1.6.0_14\bin;%PATH%

SET CLASSPATH=.;d:\jdk1.6.0_14\jre\lib\rt.jar

java -jar "Test3.jar"

Now if my friend puts this Test 3 folder on D drive,then only the application executes.This is obvious I knw.
But there is possibility that someone may or may not have D drive. In this case, what I want to do is, when he copies the folder and paste it anywhere,and just double clicks on the batch file the application should execute.
So is there any method in batch file to get the path of the folder where he has pasted that folder?

Please help me...
 

Read other answers
RELEVANCY SCORE 54.4

Hi guys,

I have a task from my belkin flip KVM that loses its task icon pretty frequently, but the process is still running.

I've made a batch file

Code:
taskkill -IM flip.exe
this works fine in killing the flip.exe

what i'd like though is kill the exe then pause for 4-7 seconds and then start the flip.exe again. I'm not a programmer in any way, so if anyone can help it would be great.

(it's driving me flipping mad!) LOL

A:creating a batch taskkill?

got reference for a pause...but I'm not sure if I'm implementing it correctly....and the start command just makes the cmd window stay open and flip doesn't start. again syntax is totally wrong me thinks.

Code:
taskkill -IM flip.exe
PING 1.1.1.1 -n 1 -w 5000 >NUL
START "C:\Program Files (x86)\Belkin\Flip\flip.exe"
EXIT
anyone got any ideas?

Read other 2 answers
RELEVANCY SCORE 54.4

edit read below
 

A:Creating a Batch File

I need to write a batch file on a ftp server to do the following:

I have a locally directory on an ftp site, c:/pdf

I want to have this run once to see if new files have been written to it, if they have, move them into say c:/pdf/sent

Then I want to create an error log if any issues arise

Anyone have any experience with this ?
 

Read other 1 answers
RELEVANCY SCORE 54.4

how do l create batch file to map an existing file and printter server to the new file and printer server.
 

A:Creating Batch file

Do you mean remap a network drive? If so, you would create a .txt file that looks similar to:

net use h: /d
net use h: \\servername\sharename

Then rename the file to .bat and run it.
The first command deletes the mapped drive h: and the second one maps it.
 

Read other 3 answers
RELEVANCY SCORE 54.4

I would like to know how to create a .batch file and have it run at the shut down of the computer,Here are the commands:

netsh int ip reset reset.log
netsh int ip delete arpcache
netsh winsock reset
ipconfig /flushdns

Thanks

A:Creating .batch to run at shutdown

Task scheduler can set it up to run at startup or at login, but I do not see a method to do it at shut down.

You can use the group policy editor since you have Windows 7 Ultimate. See Schedule a task to execute at shutdown or logoff - Tech Support Forum for how to setup a task to run on shutdown using the group policy editor.

Read other 3 answers
RELEVANCY SCORE 54.4

I am totally new to Batch Files. Here is my problem:

I need to create a Batch file that will:
Go to a specific folder on a network drive
Copy a File
Go to another folder on a network drive
replace a file
and then close.

Any help out there as to how to do this?
 

A:Creating Batch File

Read other 7 answers
RELEVANCY SCORE 54.4

Hi there,
Is it possible to recover your windows xp using batch files?
and if it is possible how to create batch files.

Read other answers
RELEVANCY SCORE 54

Hey im trying to create a batch script that will create the pattern for IP address's

I started with code that looked like

:loop1
set /a four="%four% + 1"
if ("%four%")==("9") goto loop2
echo %one%.%two%.%three%.00%four%
%cmd% >>"C:\%cmd%.txt"
if not ("%four%")==("9") goto loop1

:loop2
set /a four="%four% + 1"
if ("%four%")==("99") goto loop3
echo %one%.%two%.%three%.0%four%
%cmd% >>"C:\%cmd%.txt"
if not ("%four")==("99") goto loop2

:loop3
set /a four="%four% + 1"
if ("four")==("255") goto loop4
echo %one%.%two%.%three%.%four%
%cmd% >>"C:\%cmd%.txt"
if not ("%four%")==("255") goto loop3

which worked to an extent but once it hit loop3 it would continue adding to the next set of numbers and not reset itself back to 0.

how to i create a bunch of loops for creating the pattern for an ip address (000.000.000.000) from 0-255.

I read into the For /L command but wasnt successful at figuring it out.

Thanks

Read other answers
RELEVANCY SCORE 54

Hi,
Can somebody assist me with a .bat file I am trying to create?
This is what I have now:


Code:
start /d "C:\Users\Me\Desktop\ghost" ghost.exe
start /d "C:\Users\Me\Desktop" Poweroff.exe

C:\Windows\System32\powercfg.exe /setactive e428f8a5-615e-488f-b7f7-1ed39450e522
The first 2 lines start programs on my desktop. The next line, I try to change the power setting so my computer won't go to sleep, but I am not sure how to put this in my script. When I enter the line in command prompt, it works, but I am new to writing batch files.

What I essentially want to do is to run those two programs and set my power settings to another profile.
The second program shuts down my computer when the first program ends. It would be nice if I could do this in a batch file without the second external program support. Another idea I had was to start up GHost.exe (1st program) and then run shutdown -t 20, but I also need help expressing this in a batch file, so the line runs only after GHost.exe ends.

Thanks for your input.

A:Help me with Batch script!

Oh boy, it's been several years since I did a lot of batch file commands...

Looks like you might want to add the start " " to that 3rd line, thats the 1st thing that comes to mind.

Read other 1 answers
RELEVANCY SCORE 54

dear all
any help to make batch script this the reason i want to make a batch file is to help me update the online games in 60 computers by overwriting or copying big files in one click from 1 source computer...
instead of turning on all 60 computers and updating all online games, he'll just have to update one computer and just copy the update or overwrite the old files in all 60 computers...

i have 1 server game i want only copy newer files to pc all pc client
example
pc server = 192.168.3.200
pc -01 = 192.1683.1
D\gameonline\dota2\
how to batch script

thx before

A:batch script help

i try to make script but no work
this my scripy

@echo off
set "pc_server=\\192.168.3.77\D\GameOnline\DOTA 2\"
set "pc-24=\\192.168.3.24\D\DOTA 2\"
robocopy /"%pc_server%/" /"%pc-24%/" /mir

Read other 6 answers
RELEVANCY SCORE 54

I have a batch file I just need ran on and after certain days/dates.. these days vary.

So here is my question..

I want to create a file that I can put in the start up menu, so when my computer boots up it will run this file and check

the date. If the date is for example: november,18,2009 or later it will run the batch file.


That batch file is located in c:\Documents and settings\user\My Documents

So what kind of file would I need to create and what would the script be.

I need to be able to plug in different dates when I need to and using the schedule task in windows is not going to work.

Time doesnt matter just need dates.

A:Script or batch

Welcome to TSF!

This should do it. Set the target date in the 2nd line. Use the same format and symbols as your system does, so if your computer displays the date for Nov 18 as 18-11-2009, use that, not 11/18/2009.

Set the file name of your batch file in the 3rd line. The 4th line is the path to the file, which will be the My Documents folder of the logged on user. If you want this to run for more than one user, you'll need to change that as well, and put the batch file into a folder all users can read.

You can put this batch file in your Startup folder, or create a Scheduled Task to run this batch when you log on.

Code:
@Echo Off
Set _TargetDate=11/18/2009
Set _FileName=mybatch.bat
Set _Filepath=%Userprofile%\My Documents\%_Filepath%
:: Get todays date
Call :GetDate
Set _yy=%_fDate:~,4%
Set _mm=%_fDate:~4,2%
Set _dd=%_fDate:~6,2%
:: Convert todays date to Julian
Call :JDate %_yy% %_mm% %_dd%
Set _JToday=%_JDate%
:: Get Target Date
Call :GetDate %_TargetDate%
Set _yy=%_fDate:~,4%
Set _mm=%_fDate:~4,2%
Set _dd=%_fDate:~6,2%
:: Convert target date to Julian
Call :JDate %_yy% %_mm% %_dd%
If %_JToday% GEQ %_JDate% Start "" "%_Filepath%"
Goto :EOF

::===================================::
:: ::
:: - S u b r o u t i n e s - ::
:: ::
::===================================::
:JDate
:: Convert date to Julian
:: Arguments : YYYY MM DD
::... Read more

Read other 3 answers
RELEVANCY SCORE 54

Hi Ime Quite New here I Know A Little on Batch Scripts but i need Help Please

1.)How Can I Bypass UAC In Vista Without Restart In Batch Script
2.)How Do I delete All Files And Folders In My %TEMP% Without Confirmation
3.)How Can I Enter Text Into A Batch Script And Then Have The Script Save It As "info.ini"

Saved File Info.ini should read

Code:

[General]
Name= Entered Text
Model= Entered Text

[Support Information]
Line1= Entered Text

Any Help Or Just Point Me In the Rite Direction Please

Please

Thank you Mobile-latham
 

A:Help With A Batch Script Please

Ok Worked The delete %TEMP%
FOR /F %%A IN ('DIR /B /AD /S') DO RMDIR /S /Q %TEMP%\
 

Read other 2 answers
RELEVANCY SCORE 54

Hi,

I am trying to write a batch script, that will copy users "My Documents" Folder. I want to put a for loop in the script that will ping the computer first and if the ip address of the computer is in 10.10.10.0 to 10.10.10.200 range, then only it will prompt the user to copy enter user name, otherwise it will exit. This is what I got so far. It does the copy and prompt the user fine, but I don't know how to get the for or if loop working to decide only to do the backup for 10.10.10.0 to 10.10.10.200 range.
Code:

@echo off
Title "Back up My Documents"

ipconfig | find "IP Address" > ip.txt
for /F "tokens=* delims=:" %%I in (ip.txt) do GOTO copy

:Copy
start /wait NET USE /delete /Y z:
start /wait NET USE z: "\\servername"
set /p source="Enter your username: "
echo Please wait...Backing up My Documents...

If not exist "c:\Documents and settings\%source%" (echo You have entered wrong user name. Program will exit. Contact the admin. & pause & exit)

xcopy "c:\Documents and settings\%source%\My Documents\*.*" "z:\%source%\My Documents" /e /q /r /h /d /k /c /y /i

end if

start /wait NET USE /delete /Y z:
exit
Thanks for all the help
Jat421
 

A:Batch script

Read other 9 answers
RELEVANCY SCORE 54

Hi, I just had a question about a script I'm trying to make for hiding/unhiding folders.

Here is the script I have come up with so far:

Code:
cls if exist "C:\Documents and Settings\Tom\Desktop\GM Games\folderlock\test" goto lock else goto unlock :lock echo off attrib "C:\Documents and Settings\Tom\Desktop\GM Games\folderlock\test" +s +h goto end :unlock echo off attrib "C:\Documents and Settings\Tom\Desktop\GM Games\folderlock\test" -s -h goto end :end exit

For some reason, it works to hide the folder, but when you click it after it hides the folder, it does not reveal the file again,
yet if I run the line "attrib "C:\Documents and Settings\Tom\Desktop\GM Games\folderlock\test" -s -h" in a separate batch file, it works fine...

Theres got to be something wrong with my script that is stopping it from running the "unlock" line...

Any ideas?
 

A:Need help with batch script

Read other 16 answers
RELEVANCY SCORE 54

how can I start the service: "wireless zero configuration-service"
with a script or batch file?
witch code do I need?

OS Windows XP prof SP2

Thanx Mark
 

A:script or batch

Is it listed in the list of services in the services manager?
 

Read other 2 answers
RELEVANCY SCORE 54

Hi,

I have my vendor's ftp url over SSL. it's like ftps://myvendor.com and i have username and password. So please help me on writing batch script t o downlod the file from my vendor repository.
If this is not possible in dos script, please suggest me opensource tool. But i would love the solution in dos script as i need to use this forever to avoid any manual work.

Thanks

Read other answers
RELEVANCY SCORE 54

Hello All,

Greetings!

I am a BI guy.I need a batch script(.bat) for Winodws 7 enterprise edition.
My requirement:
I have some 100 files in a network drive which i can access.Each text file contains some 1000 records with some filed names.Now my question is i want to read those files and put result in another file.I dont want all the record of data in the text file. Now i need filename,record count,date of the file .

result file would be:
Filename record count date
Filename-1 100 01/dec/2017
filename-2 1000 01/dec/2017
filename-3 900 30/nov/2017. This i sthe data i need in a result file(like .csv,exel,.txt as result file)

At same time i have to increment automatically file when new file arrives into the directory.i,e i have executed file today i can see the files upto today.Tomorrow the file should run automatically and update the all files including history files....in the result text.This is because i use this file in a scheduled report in other technology where all these data to display.

I hope you understand.

Thanks in advance.
 

Read other answers
RELEVANCY SCORE 54

Hi all, I just did a restore of Vista and wiped out most of the programs and shortcuts that I had before.
I want to create a shortcut on my desktop to the Windows file explorer program, the the Windows Control Panel program and notepad.exe but I have to find the programs first and I have no idea how to do the. The Vista search is useless because if I typ in Notepad.exe for example it opens the prorram it doesn't find the actual notepad.exe file.
Then if I do open the Windows file explorer how do I make it display the folder tree? Vista certainly doesn't work as well or as easily as XP!!!
Anyway thanks for any help in advance.

A:Finding programs and creating shortcuts

Hello Mastic,

You can create shortcuts using this below in the location field for them.

Notepad = notepad.exe

Windows Explorer = explorer.exe

Control Panel =

Create a Control Panel Shortcut that Always Opens to Icons View in Windows 7 and Windows 8

Create a Control Panel Shortcut that Always Opens to Category View in Windows 7 and Windows 8

Read other 4 answers