Hi,
one of my variables has the value %val% - this is exactly the name!
So:
set variable=%val%
What happens now is that when running the script the variable will be set to nothing as the %val% is being evaluated! But this is not what I want... How can I tell DOS to ignore the %-sign here?
Can anybody out there help me with my questio...
Hello,
I want to make an online php hexeditor, where the user uploads a file, the server performs a specified hexedit on it, and then the new file is saved on the server. I was thinking that I should write a .bat file that opens a hex editor on windows, performs the specified actions, then returns the new file. I could use the php functi...
I recently had very kind assistance on how to make the below code copy the most recent file from a file on my C:\ called 'C:! BATCH'
It's transpired that I now need to have the batch file only look for .bak files in this dorectory, and while I'm positive this is a relatively simple tweak, I've so far had no luck on finding how this is ...
Very simple question I am sure.
I have a file called ACLReader.vbs which I have written. I want a user to be able to run a batch file
I also want the batch to take a paramater and pass it to ACLReader.vbs instead of using testText.txt (as the user would if execute ACLReader.vbs from the command line)
This is what I have from googling ...
I have created a .bat file that displays all the users logged in Windows Terminal Services.
I can execute the .bat file in my c# code behind and display the results in plain text in a label or text box. What i would like to do is data bind the user name and the session ID in a data grid.
protected void Button1_Click(object sen...
I have written code that uses a .bat file (code: rwvinstat /server:servername) that populates a DataGrid of users logged in to a terminal service session in c#. The .bat lives on the server with the app. files and will run properly if executed manually on the server .Also if i run the app. locally and call the .bat file on the server it...
The environment is Windows Web Server 2008, and I'm just trying to copy a folder full of files to a network location (a managed backup network folder). Here is my .bat file, running in the folder with my .bat files:
copy *.bak \\networklocation\*.bak
pause
however \\networklocation requires username x and password y, so running the sc...
Hi, I’m just the I.T guy at work any programming language is difficult for me.
Here’s my question I have found studied and now understand the following HTML code:
<a href='mailto:?Subject=ONDERWERP&Body=BIJLAGEN:&Attachment="C:\test\1.txt" '>
Attach with double-quotes!
</a>
However this invokes a new email with only one attachm...