Check this:
viewtopic.php?f=3&t=4266
Search found 511 matches
- 23 Aug 2013 03:18
- Forum: DOS Batch Forum
- Topic: make an output appear in the same line
- Replies: 3
- Views: 3473
- 24 Jul 2013 13:57
- Forum: DOS Batch Forum
- Topic: Running batch file from shared out folder
- Replies: 7
- Views: 7445
Re: Running batch file from shared out folder
may be if you rewrite the batch to use relative paths...
- 24 Jul 2013 13:55
- Forum: DOS Batch Forum
- Topic: batch file in standard user to be run in administrator mode
- Replies: 4
- Views: 4178
Re: batch file in standard user to be run in administrator m
There are no ways to bypass UAC for a limited account - AFAIK. You can schedule a task with schtasks with admin account that is triggered on event . And you can create an event log in application area without administrator permissions. But still creating an event with admin permissions will pop-up ...
- 23 Jul 2013 12:40
- Forum: DOS Batch Forum
- Topic: batch file in standard user to be run in administrator mode
- Replies: 4
- Views: 4178
Re: batch file in standard user to be run in administrator m
If you have the administrator [username/]password or your user has administrator privileges it is possible...
- 21 Jul 2013 02:30
- Forum: DOS Batch Forum
- Topic: Possible to convert M$ Word Doc into .TXT?
- Replies: 15
- Views: 14894
Re: Possible to convert M$ Word Doc into .TXT?
In fact the deleting is commented but could be uncommented. I'm copying to doskey to '.exe somewhere in the %PATH% so after that it can be called as '& . In vbscript this is a comment , but for the batch means execute '.exe and then the next command. As doskey does do nothing in bat file (especi...
- 20 Jul 2013 11:40
- Forum: DOS Batch Forum
- Topic: Study about moving the cursor up
- Replies: 18
- Views: 20551
Re: Study about moving the cursor up
oooh..
Multi-threading in batch....
Multi-threading in batch....
- 20 Jul 2013 04:42
- Forum: DOS Batch Forum
- Topic: Running batch file from shared out folder
- Replies: 7
- Views: 7445
Re: Running batch file from shared out folder
try first to map the drive with NET USE ->http://ss64.com/nt/net_use.html
- 20 Jul 2013 01:19
- Forum: DOS Batch Forum
- Topic: need help of hybrid jscript from vb DateLastModified
- Replies: 9
- Views: 10599
Re: need help of hybrid jscript from vb DateLastModified
var args=WScript.Arguments; WshShell.AppActivate(args.Item(0)); n = fso.GetFile(WScript.arguments(0)).DateLastModified;) rewrite this to var args=WScript.Arguments; n = fso.GetFile(args.Item(0).DateLastModified); This is the way to get the arguments in jscript. Not sure if DateLastModified will work...
- 19 Jul 2013 16:39
- Forum: DOS Batch Forum
- Topic: Possible to convert M$ Word Doc into .TXT?
- Replies: 15
- Views: 14894
Re: Possible to convert M$ Word Doc into .TXT?
Samir wrote:I saw that and am totally confused.
Do not hesitate and ask.I'll be glad to explain.
- 19 Jul 2013 16:23
- Forum: DOS Batch Forum
- Topic: need help of hybrid jscript from vb DateLastModified
- Replies: 9
- Views: 10599
Re: need help of hybrid jscript from vb DateLastModified
I don't think jscript has CStr and RightRight functions..
- 19 Jul 2013 05:30
- Forum: DOS Batch Forum
- Topic: Possible to convert M$ Word Doc into .TXT?
- Replies: 15
- Views: 14894
Re: Possible to convert M$ Word Doc into .TXT?
foxidrive wrote:That's an interesting use of doskey.
Subst.exe (and a bunch of exes in system32 that I don't know what in fact are doing) also can be used but I prefer doskey because I know that will do anything in a batch file and is fast enough.
- 19 Jul 2013 05:21
- Forum: DOS Batch Forum
- Topic: Key Press through Batch File
- Replies: 2
- Views: 9319
Re: Key Press through Batch File
You can use wscript sendkeys function.and AppActivate to send the keys to an application: m here's a sendkeys.bat: @if (@X)==(@Y) @end /* Harmless hybrid line that begins a JScript comment @echo off cscript //E:JScript //nologo "%~f0" %* exit /b 0 ***jscript part****/ var WshShell = WScrip...
- 19 Jul 2013 01:19
- Forum: DOS Batch Forum
- Topic: Possible to convert M$ Word Doc into .TXT?
- Replies: 15
- Views: 14894
Re: Possible to convert M$ Word Doc into .TXT?
This is a hybrid bat/vbscript and need to be saved as .bat: '>nul 2>&1|| @copy /Y %windir%\System32\doskey.exe %windir%\System32\'.exe >nul '&&@echo off && cls &&goto :end_vbs Set WordApp = CreateObject("Word.Application") WordApp.Visible = FALSE 'Open doc for r...
- 18 Jul 2013 14:50
- Forum: DOS Batch Forum
- Topic: Possible to convert M$ Word Doc into .TXT?
- Replies: 15
- Views: 14894
Re: Possible to convert M$ Word Doc into .TXT?
Yes , you can .But you'll have to use jscript, vbscript or powershell. Here's how you can open document->
http://msdn.microsoft.com/en-us/library ... =office.11).aspx
here are save constants
http://msdn.microsoft.com/en-us/library ... 39952.aspx
If have a time I 'll create a script tomorrow
http://msdn.microsoft.com/en-us/library ... =office.11).aspx
here are save constants
http://msdn.microsoft.com/en-us/library ... 39952.aspx
If have a time I 'll create a script tomorrow
- 06 Jul 2013 00:49
- Forum: DOS Batch Forum
- Topic: %~z1 question
- Replies: 6
- Views: 8823
Re: %~z1 question
There's one small issue with Endoro's code - if the file does not exists it will print that the file is empty : try this: setlocal enabledelayedexpansion set "empty=" if !empty! EQU 0 echo this will be printed endlocal I'd a similar problem here : http://ss64.org/viewtopic.php?id=1709 .And...