IFS tilde in filename
- From: jacklam <lammertsjack@xxxxxxxxx>
- Date: Fri, 2 Oct 2009 05:22:07 -0700 (PDT)
Hi there,
We've got a couple of scanners connected to our system, which save
their files on the IFS. The filename is generated by the application
by reading a barcode.
Every once in a while the recognition of the barcode goes wrong, and
the generated filename will look something like this:
0935898300_PDF_˜20090707_151653.pdf
Not a big deal, only thing we need to do is remove the tilde character
and all is well again. However, in trying to write an automatic
procedure for this I'm confronted by a number of problems.
When I try to rename the file with legacy commands (WRKLNK, RNM), the
tilde gets replaced by an invalid character, and renaming results in
an error "Object not found. Object is...".
When I try to use Qshell to rename the objects it doesn't even find
the files. QP2Term does see the files, the tilde however is replaced
by a space (or something that resembels a space) in the filename.
Renaming via this route also fails.
The one option we have is to manually go to the IFS filder via the
Windows explorer, and using that to rename the file (i.e. removing the
offending tilde character).
Any thoughts about streamolining this procedure?
Greets, Jack
.
- Follow-Ups:
- Re: IFS tilde in filename
- From: google
- Re: IFS tilde in filename
- Prev by Date: Re: v5r4m0 to v5r4m5
- Next by Date: Re: IFS tilde in filename
- Previous by thread: v5r4m0 to v5r4m5
- Next by thread: Re: IFS tilde in filename
- Index(es):
Relevant Pages
|