473,508 Members | 2,159 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Stop 'file not found' error message appearing

97 Recognized Expert New Member
I have written a small Windows shell batch file to report on missing files.
The code correctly produces a list of (missing) numbers in a file as required, but for every entry, DIR outputs 'File Not Found' on the screen.
Does anyone know how to switch this error report off?

Expand|Select|Wrap|Line Numbers
  1. for /L %%f in (%1,1,%2) do (dir /s /b %%f.pdf>>nul
  2.  (if errorlevel 1 echo %%f >>list)
  3.  )
Jun 5 '07 #1
0 982

Sign in to post your reply or Sign up for a free account.

Similar topics

6
1512
by: Brad Tilley | last post by:
I'm printing some info into a txt file that will be uploaded into a MySQL DB. I use ';' as field separaters. How can I stop spaces from appearing on both sides of the ';' When I do this: ...
4
2249
by: Mythran | last post by:
Hrm, I don't think it's possible to create a schema for the following XML, just asking in hopes of some good suggestions for it: <menuBar> <menuBarItem> <menu> <menuItem /> <menuItem />...
3
19358
by: Pascal Deparis | last post by:
Hi, When I stop my db2 instance, I have this error code : >db2stop 12-11-2003 16:12:48 0 0 SQL1042C An unexpected system error occurred. SQL1025N The database manager was not stopped...
2
4084
by: Julia Baresch | last post by:
Hi everyone, As some of you may know, we've been having trouble with an unrecognized database format error. Today I installed an unfinished project on the workstation of one of my users. ...
0
1350
by: nutthatch | last post by:
I have an application that retrieves a large amount of data (ODBC linked) across the network, which occasionaly causes a timeout message to be displayed. I want to be able to handle this...
1
1712
by: flconseil | last post by:
Hello, I am writing a tool to package several files into a single file. It is quite similar to the 'phar' PEAR package but with more features, as I want to connect it with an autoload mechanism....
5
2182
by: Jon Davis | last post by:
I'm hosting a .NET console application in a .NET Windows Service using System.Diagnostics.Process. How do I block the debugger dialogue from appearing? Thanks, Jon
4
2501
by: ravindarjobs | last post by:
hi...... i am using ms access 2003,vb6 i have a form. in that i have 2 buttons 1. start search 2 stop search when i click the "start search" button the fucntion SearchSystem() is called,...
4
9639
by: Phil Stanton | last post by:
I am opening a report (in Preview) from a menu system I use the following code if there is no data in a report Private Sub Report_NoData(Cancel As Integer) MsgBox "There are no errors in...
0
7124
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7326
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7385
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
7498
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5629
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
5053
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4707
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3195
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
1
766
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.