Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Windows 7


Advertisements:










Cannot Open .bat File


I work at an attorneys office and we subpoenaed a surveillance video from a local gas station. They sent us a CD with a file titled "viewer.bat", but I'm not sure what to do with it.

When I try to open it I receive the error message "viewer.bat not a valid Win32 application". I'm also not sure how a .bat has anything to do with a video file (unfortunately I have no experience with .bat files).

There are is also a folder on the CD called "disstech" and it has three folders in it called "bin", "dis" and "log". What am I working with here?

OS Version: Microsoft Windows 7 Professional, Service Pack 1, 64 bit
Processor: Intel(R) Core(TM) i3-2120 CPU @ 3.30GHz, Intel64 Family 6 Model 42 Stepping 7

[Code].....


View 5 Replies (Posted: Sep 6, 2012)

Sponsored Links:

Related Forum Messages For Windows 7 category:
Open Multiple Files One Click - Simple Bat/batch File
I have a simple batch file to load multiple files with one click, but it's not working.

When I run it, it simply very quickly pops up the cmd dialog, which quickly disappears, and nothing is loaded.

I've tried 'running as administrator' - same problem.

File is xxxxx.bat

I've even tried the fail safe:

start /d C:\Windows\System32\calc.exe

and that doesn't work, so it's not a error in my paths... for some reason, it just won't load...

Worked in XP fine...

Is there a different technique in 7?

Basically, end result, want to open two programs with one click (one icon on taskbar).

Posted: Nov 10, 2009

View 1 Replies!   View Related
Getting A .bat File To Run When A File Is Added To A Folder?
getting a .bat file to run when a file is added to a folder.. E.G When a file is downloaded to the downloads folder the .bat file runs and is moved to a separate location.

Posted: Dec 23, 2012

View 1 Replies!   View Related
Encrypt A .bat File?
its possible to encrypt a .bat file so when you edit the file it won't be readable?

Posted: Nov 26, 2010

View 5 Replies!   View Related
Change Computer Name With BAT File?
Would like to know if its possible to change the computer name using a bat file, on Windows 7 64bit.

Posted: Jun 25, 2012

View 8 Replies!   View Related
Run Bat File As Administrator?
I know there is a checkbox in the propertires of a batch file where you can select that this file should always be run as admin. But that checkbox is for me grayed out and inactive both on my Windows 7 Ultimate home system and on a Server 2008 at work.

Posted: Apr 27, 2010

View 3 Replies!   View Related
Lost Pics In Locker.bat File
i have lost my pics in locker.bat file,,, i moved the folders to another location and they are no longer there and are not in recycle bin.

Posted: Nov 26, 2012

View 2 Replies!   View Related
Lost Pictures In Locker.bat File?
i have lost my pics in locker.bat file,,, i moved the folders to another location and they are no longer there and are not in recycle bin?

Posted: Nov 26, 2012

View 6 Replies!   View Related
Create A Bat File That Changes Multiple GUI Settings?
I regularly need to turn off windows 7 GUI settings such as aero,certain services,unload certain apps in memory, all in win 7 ultimate. These settings will always be the same. I would like to know if it is possible to create some sort of file*batch file?) which would turn these settings off, and also a separate file which would turn them back on again when i wanted them all back.

I am familiar with working with simple .bat files, and converting them into .exe's and attaching them to shortcut icons. So my only question is where do i find examples of how to write lines of code to manipulate the windows interface.

Posted: May 8, 2011

View 2 Replies!   View Related
How To Code A Bat File To Restart Explorer And 2 Programs
hat am I doing wrong? The code stops after explorer.exe is restarted. I know this because the command prompt does not show the echo "-explorer restarted". When I look at the command prompt, the cursor seems to be on the next line, but without the normal C:UsersJohnSmith> in front of it (there is nothing in front of the cursor).
Also, if I include the command "exit" at the end of my .bat file, it doesn't seem to work. Even though if I type in exit into command prompt, the window closes.

Posted: May 22, 2012

View 2 Replies!   View Related
Creating Bat File For Restart Display Adapter?
I have to boot twice for my display adapter to start. Im making a bat file in startup folder who does this operation for me, but i cant get further than starting device manager.

Here is my .bat file so far: set DEVMGR_SHOW_DETAILS=1 start devmgmt.msc

Posted: Apr 12, 2011

View 3 Replies!   View Related
Changed BAT File Association And Can't Get It Back
I went to Control panel->Default programs->Associate a file type with a program and changed the association to file .BAT to explore.exe.Now, when I click on a bat file with the mouse, the whole desktop starts shaking. I think it goes into a loop.The problem, when I go back to Controlpanel-> Default programs->Associate a file type with a program.The extension .BAT is no longer there! It is gone.And when I examine the file property of some .bat file, there is no option to change what to open it with. There is no open with... only OPEN option.There is also no way to add a new file extension in Control panel->Default programs->Associate a file type. I can't add .bat again.I did Control panel->Default programs->Set progream access and computer defaults but still the .bat file association is broken, and when I double click on it, same thing happens.Now when I right click on a .BAT file from exploer, I also do not see the EDIT option any more.

Posted: Jun 4, 2010

View 6 Replies!   View Related
Bat File To Launch PowerDVD Plugin From Desktop
I am looking to create a bat file that will launch straight into the Powerdvd 12 plugin within Media Centre. I have seen posts where people have done this with the Netflix plugin but can't find anything for Powerdvd.

Posted: Jan 14, 2013

View 1 Replies!   View Related
Launching Program From Task Scheduler Without Using BAT File
I just discovered the task scheduler and I am using it to start programs at logon, like eraser. The only problem is I would like to start them minimized and I can't quite figure out how to do that. I have set the program properties to run minimized but it doesn't want to play nice. Is there anyway I can get the program to launch from task scheduler without using a bat file?

Posted: Sep 22, 2012

View 7 Replies!   View Related
Bat File Not Opening Locker Even After Giving Right Password
I used a .bat file method to lock my files in locker in starting it worked great but suddenly it stopped working like now when I am giving password in .bat file command prompt it just don't get's open the locker and ask again and again for password even though i am giving a right password. I have some important files in .bat locker which is not opening even entering right password

Posted: Sep 7, 2012

View 5 Replies!   View Related
Create A Shortcut To A *.bat Batch File In The SAME (unknown) Folder?
I have written a batch file (e.g.aaa.bat) which can take several paramters and runs fine as long as I enter the start command at the command prompt e.gaaaa.bat -start -logIn order to avoid always having to enter manually this command I created a shortcut to this batch file and placed it in the SAME directory and added once the desired parameters. The shortcut properties look like now:Target: D:proj2 est2011aaaa.bat -start -logStart in: D:proj2est2011This works fine as well. Now the problem comes: I want to make these batch file and its shortcut portable.That means users should be abel to copy both files (batch + shortcut) on their computer in an indiviual different directory and be able to start the shortcutted batch file WITHOUT adjustments as well.

BUT this does not work because "Target" and "STarted in" most problably have a different path (e.g. C:evalproj ask23).My first approaches to solve this problems were to omit the path like in:Target: aaaa.bat -start -logStart in: .But this does not help. If I try to apply the settings above for the shortcut I got an error popup:"The name aaa.bat' specified in the target box is not valid"Hmm, how do I specify in the shortcut=SAME DIRECTORY AS CURRENT SHORTCUT FILE otherwise?

Posted: Sep 21, 2011

View 1 Replies!   View Related
Running Bat File To Get All IPs And Mac Addresses On Network?
I am trying to run a batch file (arpping.bat) that will get all of the IP's and mac addresses on the network. Here is the batch file:
REM arpping.bat
ping -n 1 -l 1 %1.%2
arp -a %1.%2

I run the following command from the command line:
C:\> for /l %i in (1,1,254) do arpping 160.82.220 %i

I the receive the following, repeating, output line at the command line: "The process cannot access the file because it is being used by another process." This keeps repeating until I hit Ctrl C. Not sure where the problem is.

Posted: Jul 2, 2011

View 3 Replies!   View Related
Programmatic Way With BAT File Determining If Elevated Command Prompt
Is there any programmatic way within a BATch file of determining whether it has been started from an elevated command prompt (run as Administrator) or a normal command prompt? I note the difference between the Current Directory at start of the BATch file, but wonder if there is a better way. When in elevated mode I don't get a UAC prompt when using DISKPART. The UAC prompt only happens when running it in a normal command prompt window.

Are you aware of any command which simultaneously would give a different errorlevel when executed in an elevated command prompt than in a normal command prompt, and not produce a UAC prompt in normal mode? If this is the case, unless I can find something to distinguish between elevated command prompts and normal command prompts, then I will have to try the %cd% variable at the start of BATch files, to see whether it is consistent even across user modifications of the command prompt shortcut's Target Directory...

Posted: Oct 16, 2010

View 1 Replies!   View Related
Unable To Edit / Run BAT File - Windows 7 SP1
I installed an old game R6Vegas2 to c:/games instead of the protected program files (default install location) the game it's self works fine, but it's a mod for this game that uses bat files, teknor6vegas2.exe which then injects it's code into the games .exe so I need to be able to edit the bat file and run it. So far all that happens is the dos cmd window opens and closes within2 seconds nothing else things that I have tried,disabled uac, taken ownership /full control copied a shortcut to the desktop (.bat file) and changed to run as admin all made no difference at all, in win xp it works without all this faffing around

Posted: Oct 25, 2011

View 7 Replies!   View Related
Creating Scheduled Task With .bat File Delayed Execution?
I know how to create scheduled task from .bat file. But if the PC is turned off, i want it to run first time someone logs on. Code: SchTasks /Create /SC MONTHLY /D 15 /TN My Task /TR C:RunMe.bat /ST 14:00 what should i add to this code to make it run if the user opens his pc at 16:00?

Posted: Sep 14, 2012

View 1 Replies!   View Related
Create A .bat File To Disable Wireless When Connect To Wired
I currenly work in an IT department and have given this 'project'.

We have a number of users who have been given 32bit Windows 7 laptops for remote, home and office working.

I have been asked to create a batch file so that as soon as the user comes into the office they plug the laptop into the network and it should use the wired connection automatically to access the corporate LAN. As soon as they work away and need to access the corporate network remotly they do not need to press the wireless button on the laptop, when the laptop is switched and logged on i want the laptop to know that it is not on a wired network and for the wireless to kick in.

I have created two bat files -

netsh interface set interface �Wireless Network Connection� Disable

and

netsh interface set interface �Wireless Network Connection� Enable

these have been placed in task scheduler under create a basic task. I have tried both of these in cmd prompt but they still don't work.

Posted: Jan 9, 2012

View 3 Replies!   View Related
Write Results From 2 Separate Files To One Log File Via .bat?
I am in need of assistance. I have a batch file that runs nightly to restart machines in a specified list (restartmelist.txt) which works flawlessly. What I am looking to do, is have another file (restartmenames.txt) with a list of usernames, so when I look at the results file, I can not only see the results from each machine, but also whose machine it is. The names correlate in order with the machines. So restartmelist.txt looks like this:

MACHINE1
MACHINE2
MACHINE3

And restartmenames.txt looks like this:

Bob Lastname
Bill Lastname
Jason Lastname

Right now, my log-file writes like this:

.Machine1
.Machine2
.Machine3

What I would like to see, is this:

.Machine1 (Bob Lastname)
.Machine2 (Bill Lastname)
.Machine3 (Jason Lastname)

What I don't know how to do, is call that 2nd file to write the log entries, or if it's even possible. Here is what my code currently looks like:

Code :@ECHO OFFFOR /F "tokens=*" %%A IN ('TIME/T') DO SET Now=%%A>>c:scriptsRestartme.log 2>&1 Echo Restarting of machines STARTED on %date% @ %now%>>c:scriptsRestartme.log 2>&1 Echo.set _=c:scripts
estartmelist.txtfor /f %%i in (%_%) do (>>c:scriptsRestartme.log 2>&1 SHUTDOWN /r /m \%%i /t %1 /c "This machine is forcibly restarting in %1 seconds!" /f>>c:scriptsRestartme.log 2>&1 Echo . %%i)FOR /F "tokens=*" %%B IN ('TIME/T') DO SET NowDone=%%B>>c:scriptsRestartme.log 2>&1 Echo.>>c:scriptsRestartme.log 2>&1 Echo Restarting of machines COMPLETED on %date% @ %nowdone%>>c:scriptsRestartme.log 2>&1 Echo ------------------------------------------------------------------>>c:scriptsRestartme.log 2>&1 Echo.Copy c:scriptsRestartme.log \seaappsappslogfiles /y

Posted: May 31, 2012

View 12 Replies!   View Related
Make Same Bat File Which Would Work For Both Windows 7 And Windows XP?
I want to know how can we create the same bat file that would work for both XP and windows7. Is it possible to make same bat file for both O.S.?

Posted: Nov 20, 2012

View 2 Replies!   View Related
Cannot Open Resource File Cd:Program File (x86)Calendar CreatorCC Sku.DLL
Was using old veersion of Calendar Creator. I deleted it before installing new version. Now I get this message and it won't open

Posted: Aug 3, 2011

View 1 Replies!   View Related
Put File On Desktop -> Open File -> Access Denied?
Whenever i take a file and put it onto the my desktop, all the permissions to the file is completely stripped. Leaving none able to open the file.I am able to go into access control and add myself again, but it makes no sense at all..

Posted: Feb 25, 2011

View 9 Replies!   View Related
While Trying To Open A File From Explorer / Could Not Scroll Down To File
I had an unusual happening on my PC. First noticed some instability while trying to open a file from Explorer, could not scroll down to file and it was jittery. Then, every time I tried to enter on an input line, an endless string of zeros were input and I could not overide or erase. Even on Email addressees. I tried a reboot and the zeros appeared on the start up password line and I could not logon. Same thing after complete power cycle. I suspected a stuck key on the keyboard and tried a different keyboard but no help. So I tried a complete restore. At first, it seemed to have the same problem, but somehow, eventually, I got logged on and now everything seems OK. But I don't really know what caused this and fear it could happen again.

Posted: Jan 28, 2011

View 2 Replies!   View Related
Open A File It Will Just Hang There And Not Open?
if i go to the start button to go to my computer the window will open on the first try , but say i try to go to my computer again it will just sit there and not open. the exployer window will open but not the contents inside.does not care how many times i try it will only open the window and show nothing inside , a bar will go across the top to show progress but still it will not open.if i restart the computer i can open up the my computer or just computer in W7.like right now i tried to open up the window to check my hard drive and im still waiting for it to open.this goes on on both of my computers running windows 7.all coms are updated to the fullest and im not overclocking or doing anything other normal stuff.So is there a bug or somthing that im missing , once again if i go to start , and hit computer the window will open on the first try , but if i do it to many times it will just open a window and just sit there.even further if i open it up and try to open a file it will just hang there and not open , there is no error warning or nothing.

Posted: Feb 11, 2012

View 1 Replies!   View Related
Can't Open A Shared File On A Windows 7 Machine If It Is Already Open On An XP Machine In Same Network
I have a small network of six computers. Five of them run XP and I just added a Windows 7 machine. I've got a Microsoft Access 2003 database that all of the computers share that is hosted on one of the XP machines. The Windows 7 machine can access the Access database through the network just fine, as long as no one else is accessing it. However, if someone else on an XP machine on the network is using the file, it won't open on the Windows 7 machine. Doubling clicking the file on Windows 7 gives me the circling blue icon for a second or two, then nothing happens. If the XP user exits the database, then I can open it fine. Permissions on the XP that is hosting the database is set to allow everyone. And all the XP machines can access it at the same time.

Posted: Jan 23, 2012

View 9 Replies!   View Related
"The Action Can't Be Completed Because The File Is Open In Windows Explorer. Close File And Try Again"
I'm on a network where I keep my files but I'm very aware of whether or not these might be open elsewhere. From time to time at any old time of the day (randomly it seems in other words) I'll go in and try to arrange, rename, or get rid of files and I'll get "The action can't be completed because the file is open in Windows Explorer. Close file and try again". Except that the file ISN'T open anywhere.

Posted: Oct 20, 2011

View 4 Replies!   View Related
Can't Open A Shared File On A Windows 7 Machine If It's Already Open On An XP?
I have a small network of six computers. Five of them run XP and I just added a Windows 7 machine. I've got a Microsoft Access 2003 database that all of the computers share that is hosted on one of the XP machines. The Windows 7 machine can access the Access database through the network just fine, as long as no one else is accessing it. However, if someone else on an XP machine on the network is using the file, it won't open on the Windows 7 machine. Doubling clicking the file on Windows 7 gives me the circling blue icon for a second or two, then nothing happens. If the XP user exits the database, then I can open it fine.

Posted: Jan 23, 2012

View 3 Replies!   View Related
Copyright 2005-08 www.BigResource.com, All rights reserved