Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x

Microsoft DOS

13K

Solutions

12K

Contributors

Microsoft Disk Operating System (MS-DOS) was an operating system for x86-based personal computers, and traces of it are still found in the Windows operating system. DOS is still used in some embedded systems and for certain legacy 16-bit networks.

Share tech news, updates, or what's on your mind.

Sign up to Post

I will have several files during the day. Cannot select the latest with timestamp, i need to have to file with the greatest id.

The file name is in a format: [standardname]_[date]_[id].csv. Eg invoices_2017_09_19_186.csv
0
Free Tool: IP Lookup
LVL 10
Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

I need help. How to create batch file to import value from text file and write it to registery during osd.
I want to add key  in hkl\software\syswow64\me\  the value would be jack,  help would be appreciated.
thanks
0
Looking to use a dir command in the prompt that will write a txt file that includes the below info for ALL files:

File Name/ File Path / Last Modified Date/ Creation Date / Modified By

This should go through the entire subfolder structure of the directory.
0
Hi, We have a requirement as below

We  need a solution to extract the count of pages in a multipage TIFF file, which are available in Sub folders.

Thanks!
CPH
0
I am trying to install a DOS program under W7 on a particular computer. I did this successfully on several other computers by increasing the number of file handles for DOS entering files=140 in C:\Windows\system32\config.nt. On this particular computer I did the same but the DOS program still crashes because of lack of file handles. So as it seems the system did not recognize the files=140 entry in config.nt. I certainly restarted the system after making the change, but no effect. Can somebody please help me? Thanks.
0
I'm writing a batch file that needs to read In a text file with multiple lines (2-3 or more) and assign them to variables (i.e. Line1, Line2, Line3).  which will then act on those to run jobs based on the variables read in.  What is the easiest way to do this preferably without for loops or delims. etc.

Thx,
Brian
0
i have a subfolder in the users directory. as youcan see, the batch file deletes it. the folder name is OSERV. how can i keep the script but keep OSERV untouched. i cannot move this folder from the USERS directory



Del "E:\Scanning\Users\*.*" /F /Q /S



thanks
0
I need to install a usb boot disk to run a bat file to install winodows updates and Surface Tablet firmware updates
0
We need to create a bat file for our Delphi program (Windows environment) in order to help our personnel for avoiding manual operations and possible deleting some crucial files.
I  am trying  to explain you  it simply

We have a shared folder located on Z (map network drive) with name X , so
elegktes.pngThe folder contains a subfolder with name active
•      Every person who is assigned a task (e.g a car plate) is put into active folder.
•      Every person who is free (able to be assigned a job) is outside active folder

For example, We have for the active folder the following
We only use Greek characters for the name of the files.
If a car with plate KNK1234 is assigned to ABC person then the file is
ABC_ΚΝΚ1234.ini, where ABC is the full name of the employee

What we want is
a pilot menu so every time somebody clicks the bat file open a window which says
Which person you want to release? (I will translate all the text into Greek language)
It will display the name of the employees (We can modify it , so the program will read only the names which are inside the active directory)
I will provide the name of the employees (about 6-7 persons)
Do you want to release name of employee Yes or No
Release process (Every time the work on a car is completed, the worker is automatically released from the program.)
There are, however, sometimes for some reasons (repeating a process, etc.), which should be released through a process.

The full name of the person…
0
Most of my work involves video editing.
The folders (Dir) where I keep originals, copies, pre/post-edit files and so forth are all set with the following "sort" attributes (columns):
Name - Length - Size - Frame Width - Frame Height - Data Rate

For each new folder I create or Copy/Move I have to redo all these attributes again, specially when I copy a folder since it always seems to default back to:
Name- Date Modified - Type - Size or similar values.

You can imagine the amount of time & effort required to do this for all new or copied folders..
I've tried every conceivable syntax with Robocopy and cant get it to work for these reasons:
1. When I open CMD it defaults to the current User, which does have Admin rights, but I can't get Robocopy to work with the "COPYALL" or any other syntax other than "\e" and that only gives me a copied Dir/sub-Dir again with default values..
2. When I open CMD and "Run as Admin" it goes to C:\ .. which is fine, except the DIR Im trying to copy shows as "Cannot find path specified" ..

The main Dir Im trying to work with is located:
C:\Users\AV Masters\Video\Edits
I created 2 test folders (DIRS) under \AV Masters\ .. called AVTEST1 and AVTEST2
AVTEST1 contains a sub-Dir named "AV" which contains some sample videos to test this copy process..

What I'm trying to accomplish:
Create one main folder (Dir) with a sub-Dir that contains the video files I want..
Whenever I need to create a new folder/Dir somewhere or copy an …
0
Important Lessons on Recovering from Petya
LVL 10
Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

No comments, but we're still running WordStar v.7 as our main word processor. We operate the 32-bit version of Windows 10, and we physically print letters from WordStar via a PCL driver (mapped to shared Windows printers). This works fine with all of our printers except one - our Canon iR4570 copier.

Our main copier has just gone to the wall, so we're down to only one LaserJet that can carry out this function. Obviously I want a bit more redudency than this.

We run Wordstar as a legacy app through the ntvdm.exe process we've installed with Windows 10 32-bit. If I send a print job via PCL to the iR4570 it generally never prints anything, and the touch-screen concole becomes unusable. It is like it is running a corrupt process that is consuming all memory and/or CPU cycles . The only way to recover is to physically switch the iR4570 off.

On very rare occasions, it does start printing, but just junk text comes out - either filing the page, or just a couple of letters at the top of each page. It'll print until the trays are empty.

If I print to the iR4570 via PostScript from Wordstar, it is absolutely fine. HOWEVER, PostScript fonts are slightly bolder, and it doesn't look quite right for our requirements.

The iR4570 has a pretty much identical firmware to our other copier that went to wall, and which handled this all fine with PCL printing, day in day out, until it's demise. I'm hopeful there is something just not right in the settings I can flush out - but before…
0
I'd like to be able to run a weekly script on my domain workstations (Windows 7 and windows 10) that will populate a CSV log with username, computername and last successful windows update.

What I currently have is this:
--------------------------------------------------------------------------
SET filename="C:\Windows\System32\catroot2\dberr.txt"
FOR %%f IN (%filename%) DO SET filedatetime=%%~tf
echo %username%,%computername%,%filedatetime%>>....hotfixes.CSV
--------------------------------------------------------------------------

This kinda works, but doesn't tell me an update failed. Or if updates were downloaded but not installed.

Is there a better way to achieve what I'm looking for?
0
Use the "Route ADD" cmd , tried to router from router's wan mac and IP , got ''Not recognized command ? ''

Computer client would be allowed  to router from wan ip by table added ?
0
I need to set permissions on multiple computers so that the permission will not affect the folder or subfolders but the inheritance will still apply to the files within those folders.

ex:  c:\temp\scratch\sub\ needs to have permissions applied so that users can't delete either the "scratch" or "sub" folders but can add and delete files within them.  

According to Microsoft you need to use the "OI" and "IO" commands together but they don't give examples, any examples I've found online don't appear to work.   It should read something like "cacls c:\temp\scratch /G everyone:(IO)(OI)(C).  I've also tried the icacls version with no success, I've also tried only using the "C" (change) permission without the IO & OI but the folder can still be deleted.

Has anyone gotten this to work?
0
Please see PDF attached for plugin requirement. I'd like to deploy this to remote machines using PSEXEC. Can an Expert
please provide me the commands I need to execute? I'd like to also configure the command to produce a file (txt or whatever) that will give me the results of the deployment whether it deployed successfully or failed.  Can you please provide me the commands using my scenario below:

1. Executing PSEXEC from Server1
2. Plugin install (.exe) located in root of C:\ on Server1. Plugin file name "Workfront.exe"
3. I've created a .txt file in the root of Server1 name "computers.txt", which contains the remote hosts for my deployment.

This install needs to be silent. I believe it is necessary for the machine to reboot in order for the plugin to install. I tried a manual install, and a reboot was required. Maybe you Experts can tell by viewing the PDF requirement.
Workfront--Setting-up-the-WorkFront-.pdf
0

Microsoft DOS

13K

Solutions

12K

Contributors

Microsoft Disk Operating System (MS-DOS) was an operating system for x86-based personal computers, and traces of it are still found in the Windows operating system. DOS is still used in some embedded systems and for certain legacy 16-bit networks.