|
Answer» When running the below command for some reason a batch file created with NOTEPAD changes the - to be a û character. Anyone else seen anything like this? I have also tried notepad ++.
chdir C:\Documents and Settings\All Users\Application Data\Kofax\CaptureSV\KTM\Security Finance del "VendorAddress03_Vendor Master Data – AX to OnBase_SFC.txt" pause
Results: C:\Documents and Settings\srv_onbase\Desktop>chdir C:\Documents and Settings\All Users\Application Data\Kofax\CaptureSV\KTM\Security Finance
C:\Documents and Settings\All Users\Application Data\Kofax\CaptureSV\KTM\Securit y Finance>del "VendorAddress03_Vendor Master Data û AX to OnBase_SFC.txt" Could Not Find C:\Documents and Settings\All Users\Application Data\Kofax\Captur eSV\KTM\Security Finance\VendorAddress03_Vendor Master Data û AX to OnBase_Sciated.Sounds like a Unicode "en dash" is being rendered as the û character because your default codepage LACKS the right character. Try changing the code page to 1252 by including chcp 1252 in the batch file.
Now it wont locate the file: C:\Documents and Settings\srv_onbase\Desktop>chcp 1252 Active code page: 1252
C:\Documents and Settings\srv_onbase\Desktop>del "C:\Documents and Settings\All Users\Application Data\Kofax\CaptureSV\KTM\Security Finance\vendorAddress01_vend or Master Data - AX to Onbase_CHC.txt Could Not Find C:\Documents and Settings\All Users\Application Data\Kofax\Captur eSV\KTM\Security Finance\vendorAddress01_vendor Master Data - AX to Onbase_CHC.t xt
MICROSOFT Windows [Version 5.2.3790] (C) Copyright 1985-2003 Microsoft Corp.
C:\Documents and Settings\srv_onbase>cd C:\Documents and Settings\All Users\Appl ication Data\Kofax\CaptureSV\KTM\Security Finance
C:\Documents and Settings\All Users\Application Data\Kofax\CaptureSV\KTM\Securit y Finance>dir Volume in DRIVE C has no label. Volume Serial Number is 3823-7E9F
Directory of C:\Documents and Settings\All Users\Application Data\Kofax\Capture SV\KTM\Security Finance
05/10/2012 02:32 PM <DIR> . 05/10/2012 02:32 PM <DIR> .. 05/07/2012 10:00 AM 20,167 Exclude_exclude.crp2 11/01/2011 02:10 PM 545 Exclude_exclude.txt 10/23/2008 02:32 PM <DIR> KnowledgeBase 05/07/2012 10:01 AM 1,250 Layout.xml 10/23/2008 02:32 PM <DIR> Learn 10/20/2011 04:43 PM <DIR> Localization 12/22/2006 11:46 AM 614 Months_Months.txt 05/10/2012 12:35 PM <DIR> Online Learning 10/23/2008 02:34 PM <DIR> Samples 04/19/2012 07:56 AM 21,512 Security Finance.fpr 04/19/2012 07:56 AM 1,045,065 Security Finance_Extraction.dat 04/19/2012 07:56 AM 1,614,728 Security Finance_Layout.dat 11/19/2008 11:14 AM <DIR> Training 05/10/2012 09:26 AM 696,201 VendorAddress01_Vendor Master Data - AX t o OnBase_CHC.crp2 05/09/2012 07:00 PM 517,475 VendorAddress01_Vendor Master Data - AX t o OnBase_CHC.txt 05/07/2012 10:00 AM 123,885 VendorAddress02_JLB AP Vendors for Onbase Lookup.crp2 01/07/2011 05:32 PM 61,364 VendorAddress02_JLB AP Vendors for Onbase Lookup.TXT 05/07/2010 02:59 PM 2,142,284 VendorAddress03_SGI AP Vendors for Onbase Lookup.crp 03/02/2012 09:48 AM 2,630,800 VendorAddress03_Vendor Master Data - AX t o OnBase_SFC.crp 05/10/2012 09:26 AM 3,337,239 VendorAddress03_Vendor Master Data - AX t o OnBase_SFC.crp2 05/09/2012 07:00 PM 2,918,211 VendorAddress03_Vendor Master Data - AX t o OnBase_SFC.txt 05/10/2012 09:26 AM 59,162 VendorAddressOS_Vendor Master Data - AX t o OnBase_OS.crp2 05/09/2012 07:00 PM 39,477 VendorAddressOS_Vendor Master Data - AX t o OnBase_OS.txt 05/10/2012 09:26 AM 440,170 VendorAddressPF_Vendor Master Data - AX t o OnBase_PF.crp2 05/09/2012 07:00 PM 281,063 VendorAddressPF_Vendor Master Data - AX t o OnBase_PF.txt 05/10/2012 09:26 AM 502,545 VendorAddressSB_Vendor Master Data - AX t o OnBase_SB.crp2 05/09/2012 07:00 PM 337,380 VendorAddressSB_Vendor Master Data - AX t o OnBase_SB.txt 05/10/2012 09:26 AM 82,338 VendorAddressSG_Vendor Master Data - AX t o OnBase_SG.crp2 05/09/2012 07:00 PM 34,502 VendorAddressSG_Vendor Master Data - AX t o OnBase_SG.txt 05/10/2012 09:26 AM 35,245 VendorAddressSP_Vendor Master Data - AX t o OnBase_SP.crp2 05/09/2012 07:00 PM 11,617 VendorAddressSP_Vendor Master Data - AX t o OnBase_SP.txt 25 File(s) 16,954,839 bytes 8 Dir(s) 10,375,208,960 bytes free
Sorry if this is something I am not doing correctly.What font are you using in Notepad? Seems to be working now. Was mssing a quote and adding the font change you requested works.
|