File Renaming w/ Illegal Chars

Hi,
Making a file renaming program and making it so that the user can't name files using illegal windows characters (|"/\><*?)
Now I have created a case where it detects the user input if the user inputs illegal chars:
for(int c = 0; c < file2.length; c++)
                  char[] characters = t[c].getName().toCharArray();
                  String sin = "";
                  StringBuilder sb3 = new StringBuilder();
                  boolean tst = false;
                  for(int g = 0; g < characters.length; g++)
                     sin = "" + characters[g];
                     if(sin.equals("\\") || sin.equals("/") || sin.equals(":") || sin.equals("*") || sin.equals("?") || sin.equals("\"") || sin.equals("<") || sin.equals(">") || sin.equals("|"))
                        sb3.append(sin);
                        tst = true;                                                               
                  if(tst)
                     errornumber++;
                     characterError(c+1, t[c].getName(), sb3.toString());
                     defcontests[2] = false;
                  }Now it works for all of the illegal characters, but when the USER inputs / or \ , my case doesn't detect it as an illegal character. What am I doing wrong? The program doesn't recognize my \ and / characters.

Well, to start with, this might be more simplistic. Since you're only comparing one character at a time, you don't need the strings:
// starting inside of the c loop
char[] characters = t[c].getName().toCharArray();
StringBuilder sb3 = new StringBuilder();
boolean tst = false;
for (char g : characters)
    switch (g)
        case '\':
        case '/':
        case ':':
        case '*':
        case '?':
        case '"':
        case '<':
        case '>':
        case '|':
            sb3.append(g);
            tst = true;
            break;
if (tst)
    errornumber++;
    characterError(c+1, t[c].getName(), sb3.toString());
    defcontests[2] = false;
}Then, look at the local variable "tst". Its condition is actually directly related to whether or not there are characters in the buffer:
// starting inside of the c loop
char[] characters = t[c].getName().toCharArray();
StringBuilder sb3 = new StringBuilder();
for (char g : characters)
    switch (g)
        case '\\':
        case '/':
        case ':':
        case '*':
        case '?':
        case '"':
        case '<':
        case '>':
        case '|':
            sb3.append(g);
            break;
if (sb3.length()>0)
    errornumber++;
    characterError(c+1, t[c].getName(), sb3.toString());
    defcontests[2] = false;
}And that works just fine for me. I tested a few strings using that code and, each time, the thread entered the if block at the bottom if any of the character cases appeared in the string.
I couldn't find anything particularly wrong with your original code, though. Perhaps your if block at the bottom of your loop isn't behaving the way you think it should? Try using a debugger to verify that it enters the loop properly.
And, by the way, the String.indexOf method might be more helpful to you. It wouldn't be as efficient to test multiple characters (I don't think), but it would make your code simpler and that's always a plus. :)
Cheers!

Similar Messages

  • Renaming files in OS X Snow Leopard with illegal chars..

    I'm still using Leopard but want to know if the behavior of renaming files is on par of that in, gasp, Windows Vista. I was jsut doing a lot of renaming and it reminded me of the days I used to use Vista when renaming a file and using an 'illegal' character it would pop-up a yellow dialog (not an error window) to remind me of the characters I can use only.
    In OS X Leopard 10.5x if I try to use e.g. ":" I get an error box and this then reverts the file back to its original name which erases all of what I had done, all for one char probably. On top of this the error box then gives me a cryptic message as to what the error was about:
    "The name "xxxxx" cannot be used.
    Try using another name, with fewer characters or no punctuation marks."
    I heard that the guys working on OS X 10.6 Snow Leopard tidied everything up, doing all those things they always wanted to do, I bet they didn't get many opportunities like that! And was hoping that they did something toward file rename?
    I'd expect that the erroneous char would be highlighted and some kind of error shown, but not to delete everything typed in. Can anybody tell me?
    Thanks.

    It's a unix thing, and not quite something I'd classify as needing to be cleaned up...
    • The only illegal character for file and folder names in Mac OS X is the colon “:”
    • File and folder names are not permitted to begin with a dot “.”
    • File and folder names may be up to 255 characters in length

  • Terminal mass rename of files to remove illegal Linux characters

    Hi there!
    I have hundreds of gigabytes of files I need to copy over to a new Linux server. Unfortunately, Linux does not allow some filename characters that Mac OS X uses.
    How can I go through an entire directory and change any file or folder that uses : | ? \ " into a normal hyphen
    I've tried shareware renamers like Better File Rename and R-Name, but they are far too slow in scanning my folders. (I've spent hours waiting for them to pre-scan the directories before renaming)
    Is there some clever Terminal trick to do this?

    The short answer to your question is man bash. You want to write a script which will iterate through your files ( for i in *; do ...), and replace each bad character in each filename ($i) with a hyphen (so something like $j = `echo "$i" | sed s/[:|\?\\\"]/-/` but don't hold me to it because I'm not good at sed; instead, info sed.) Finally, do the rename: mv "$i" "$j" followed by done;. However, this solution, fleshed out, will only do it for top-level files in the given directory. To do it recursively in all subdirectories, etc., you should, inside the first for loop, test if the current item ($i) is a directory and, if so, cd therein and go again, via something like
    if [[ -d "$i" ]]; then cd "$i"; scriptname; cd ..; fi;
    To summarize:
    <pre style="margin-left: 3em">
    #!/bin/bash
    for i in *; do
    if [[ -d "$i" ]]; then
    cd "$i";
    scriptname;
    cd ..;
    fi;
    #FIXME!
    $j = `echo "$i" | sed s/[:|\?\\\"]/-/`;
    mv "$i" "$j";
    done;
    </pre>
    TEST FIRST! I HAVE NOT TESTED THIS AND I MAKE NO GUARANTEE THAT THIS WILL ACTUALLY WORK! Make a temporary directory, fill it with good and bad filenames, and make sure what you've written works there! I also haven't thought about how this deals with links and if that is relevant for you. Good luck!

  • Removing illegal chars from Filename

    I want to rename some files, but the destination filename may have some illegal characters in it.
    I looked around a bit but I couldn't find anything that could help.
    I was expecting a char array of illegal chars which I could use to remove them.
    So is there any standard way to remove those characters?
    If not, what is a good way to get rid of them?

    DvdKhl wrote:
    Well I know about hte replacing methods,
    but I would still need to know which characters to replace.
    Of course I know the illeagal chars defined by Windows,
    but I guess different OSes have different restrictions. (Or are they the same in Windows & Linux?)
    ...AFAIK, they are not the same. And there are of course more OS'es than those two, with, no doubt, other restrictions. And sicne Java is not geared towards one OS (like NET), Java does not have such a built-in method for removing characters.

  • BUG: Multiple file renaming

    I believe I have found a bug in the file renaming routine in LR:
    I store related .jpg and .nef (raw) files in the same folder. Each .nef has a corresponding .jpg version with the same file name.
    I wanted to rename all the files in one folder by selecting all, pressing F2 and entering the file name settings I wanted.
    When I started the process, it successfully renamed the first .jpg but stopped with an error, saying that the next file (the corresponding .nef file) could not be found.
    What happened was the following: when LR renamed the .jpg, it also renamed the corresponding .nef (which I personally think is great). But when the renaming routine moved to the next file on the list, it couldn't find it, because it was the .nef file already renamed together with the .jpg file.
    Ha, I thought, you're not outsmarting me! I then selected the .jpgs only and tried to rename them all, hoping that the .nefs would be processed as well.
    That worked fine, BUT: the .nefs were then shown in the library with the '?' sign on them, signaling that LR could not locate them anymore.
    What happened? LR successfully renamed .jpgs and .nefs, but did not update the library file for the nefs (ONLY), still showing them with their old file names, when in effect they had been renamed (as I could see in Windows Explorer).
    To summarize: you can rename a folder full of .jpgs and .nefs by just selecting the .jpgs, but LR will update the new file name in its library only for the .jpgs. For the .nefs, you need to hold LRs hand and point it to the new file name for each individual file.
    Unless I miss something basic here, I think that's something which should be fixed.
    Christian Spyr

    Hi Chris,
    fotunately I already made such a modification to ADDT´s predecessor "MX Kollection", and as the core files didn´t change, it will assumingly work the same:
    1. add the following function to the file "includes/common/KT_functions.inc.php":
    replace all chars from uploaded filenames other than alpha-numeric and "_" and "-" and "." with an underscore (_)
    function KT_websafe_filename($text) {
    return preg_replace("/[^a-zA-Z0-9\-_\.]+/", "_", $text);
    2. change line 120 in file "includes/common/lib/file_upload/KT_FileUpload.class.php":
    old: $fileName = KT_replaceSpecialChars($fileName, 'filter');
    new: $fileName = KT_websafe_filename($fileName, 'filter');
    This modification will of course *always* be renaming the uploaded file accordingly -- but you´ll need no fancy trigger and anything else.
    Please backup the 2 original files !!
    Günter Schenk
    Adobe Community Expert, Dreamweaver

  • Files Renamed when importing to LR4 and now can't find them in LR3

    Help!  What should I do???
    Yesterday I installed LR 4 Beta.  I had a folder with 300 images in it on LR 3, obviously all files had names.  I imported these photos into LR4 to work with LR4 and they were renamed in the process.  Now in my LR3 folder, all the files still have there old names and the "missing photo ?" and I assume that's because the name has been changed and LR3 can't find them.  Any thoughts on an easy fix?
    Thanks,
    Matthew Kraus

    Thanks so much for helping me with this.
    I must admit, I didn't pay too much attention when importing this "test"
    group of photos to LR4, therein lies my problem.  Now that I look at the
    import settings that were used:
    1. Files were not added or copied, they were "moved" to a new location and
    also renamed.
    2. Files were renamed starting with "264" using my regular import template.
    Listed below are the first 10 photos with their original LR3 and he
    changed LR4 names.
    1201_001 changed to 1201_264-2
    1201_002 changed to 1201_265-2
    1201_003 changed to 1201_266-2
    1201_004 changed to 1201_267-2
    1201_005-Edit-Edit changed to 1201_268-2
    1201_005-Edit changed to 1201_269-2
    1201_005-Edit changed to 1201_270-2
    1201_005-Edit-Edit-2 changed to 1201_271-2
    I have a back up of my images on an EHD from several days ago which has the
    original file names, but this backup only has 203 of the 268 images I
    imported yesterday and are renamed.
    Thanks again,
    Matthew Kraus
    2012/1/11 Dorin Nicolaescu-Musteață <[email protected]>
       Re: Files Renamed when importing to LR4 and now can't find them in LR3 created by Dorin
    Nicolaescu-Musteață <http://forums.adobe.com/people/dorin_nicolaescu> in *Photoshop
    Lightroom* - View the full discussion<http://forums.adobe.com/message/4132062#4132062>

  • Restoring from backup to new location + not wanting files renamed

    Hi there - I am a newbie to this forum.
    I have a Win XP machine that recently needed to have the hard drive wiped and the OS re-installed. Fortunately I had a recent backup of all my data so I'm in a good starting position for a restore. However I have some questions as the re-install of the OS has had a change in profile name.
    Before my machine was wiped, I had a "Daniel" profile and so my "iTunes Media folder location" was set to C:\Documents and Settings\Daniel\My Documents\My Music.
    After my PC was rebuilt, a new profile was created called "dnl". iTunes has been re-installed (version 10.1.2.17). The first time I launched iTunes the "iTunes Media folder location" was set to C:\Documents and Settings\dnl\My Documents\My Music. I did NOT choose to have iTunes browse/load my files and so currently iTunes shows no files or playlists.
    I have recreated the C:\Documents and Settings\Daniel\My Documents\My Music folder from my backup so all the music files and the previous libraries are presently in this location. However even if I change the "iTunes Media folder location" within iTunes to point to the "old" location, it doesn’t find the files or libraries.
    I have tried deleting the following files from C:\Documents and Settings\dnl\My Documents\My Music\iTunes:
    iTunes Library Extras.itdb
    iTunes Library Genius.itdb
    iTunes Library.itl
    iTunes Music Library.xml
    I did this assuming that the next time iTunes was launched, it would refer to the old location (as specified as my "iTunes Media folder location"), find the old library files there and use them. However it seems to ignore them and simply re-creates the files above in the location I deleted them from.
    So…I am unclear as to the best strategy to have iTunes point back to the old location to find the music files and retain all the playlists I had.
    I found this thread: http://support.apple.com/kb/ht1364. It mentions a method that will find all the files in the old location and move them to the new location, retaining playlists, artwork etc. Once the data has been copied, it advises to delete the files from the original location.
    However I see that it mentions checking the ‘Keep iTunes Media folder organized’ option. From reading other threads I know this to be a source of one very irritating problem – it renames all the file names. I have specifically ripped my music using software other than iTunes for the express purpose of being able to tag the filenames with more specific info than iTunes would. I like the files to named <artist>-<album>-<track no>-<track title>.<file extension> and am not a fan of the very basic filenames that iTunes assigns.
    So…I want to have iTunes simply point back to the old location and not do any file renaming. I am happy enough to have iTunes simply point to a location that isn’t technically part of my current profile. I don’t have a desperate need for the files to be moved to the dnl profile.
    So…I am guessing there has to be some other file (or registry setting?) that knows where best to point to? Can this modified?
    I would be appreciative of any assistance.
    Thanks!

    Hi Daniel, welcome to Apple Discussions.
    The default location for the iTunes library folder is <Profile><Music>iTunes with the media folder at *<Profile>\<Music>\iTunes\iTunes Media*. For XP the <Music> folder is My Documents\My Music.
    When iTunes starts up it looks for a set of library files in the last location it used. If that location is also the default location and it can't find the library files it assumes it has just been installed and creates a new set.
    Changing the location of the *iTunes Media* folder in preferences does not change which set of library files it opens, nor will it automatically detect all the media in that location.
    Ideally you should restore the folder iTunes and all its subfolders from your backup into *C:\Documents and Settings\dnl\My Documents\My Music* and start iTunes. All should work perfectly and, as far as iTunes is concerned, you will be using the same library as you used to. Any iDevices should sync without problems.
    If you media was not is the usual locations or you are unable to restore the entire iTunes folder then things become more complicated. Post back if you still have trouble and I will try to go into more detail.
    tt2

  • Custom File Renaming Template Keeps Changing

    I'm having issues when creating a custom file naming template in Tiger with LR 1.3.1.
    When importing files, I created a custom template to rename the files with YYMMDD_{original file suffix}{Master}.tif to get this: 071217_12056Master.tif. The first import goes fine. But when I import another batch of files and choose the template all I get is 071217_Master.tif.
    I tried creating the template by hitting F2 to rename the photo and get the same results. The really odd thing is that some of the other templates have their characteristics jumbled around so that what I thought was the "orig file-name" template might actually produce something like 071217_.tif.
    The original file suffix suffers the worst in terms of disappearing without cause. This behavior was occurring in the 1.2 ver. as well. I've deleted every single template thru the editor, recreated them again and still get the errors.
    Hopefully someone here can provide some clues?
    Thank you!

    It sounds as though your import preset either isn't working or wasn't setup correctly.
    Using the full screen import panel, make sure Copy or Move is selected and then select your Import Preset....what does the File Renaming panel look like? "Rename Files" should be ticked, Template should read "Custom Settings" (or the specific rename preset if you've saved it) and the sample should show the correct rename format, like so:
    So does yours look like this, or different?

  • Bridge Photo Downloader File Rename convention

    I use a custom file rename preset (YYMMDD + TEXT + FILE NUMBER SUFIX) in BR CC. This custom preset is not available in the Adobe Bridge CC Photo Downloader Reneame Files drop down menu. Neither is the custom preset formula availble in the advanced rename dialog.
    I end up importing files with the Bridge Photo Downloader (Do not rename files) and then rename files using the Bridge Batch Rename saved preset.
    Is there a way to add a custom file rename convention which is not availble in the Bridge Photo Downloader?
    The idea is to rename files during the file ingestion process.

    Omke
    Thanks for the idea. I tried that but it didn't work. The exact same problem happened again with what appears to be the same crash log: Thread 18 Crashing (see below for that specific section)
    Additionally now in the last week I am experiencing Bridge crashing 1-3x/day regardless of the Photo Downloader.
    Adobe, please advise.
    Thanks
    LW
    Thread 18 crashed with X86 Thread State (32-bit):
       eax: 0x00000000  ebx: 0x903bd3e4  ecx: 0x00000001  edx: 0x00000011
       edi: 0x00000080  esi: 0x00000000  ebp: 0xb0a07858  esp: 0xb0a07810
        ss: 0x0000001f  efl: 0x00010287  eip: 0x903bd433   cs: 0x00000017
        ds: 0x0000001f   es: 0x0000001f   fs: 0x0000001f   gs: 0x00000037
       cr2: 0x00000000

  • File rename doesn't add leading zeros to renaming files sequence? And a pat on the back to the LR de

    First of all, LR truly rocks. Any Adobe folk reading this, please take this note as a massive pat on the back for your team. There's a lot of childish and naive negativity from people posting in this forum. And I suspect from folk who are not really your key market for this app. I feed my kids by running a photography business and have been shooting digital since the early 90s...ya know...
    LR will be looked at as a massive sea change in the development of digital photography. The first time the entire workflow process is truly viable from end to end. What will make LR the ultimate winner in it's field is simply the integration with Photoshop. Aperture, Capture One etc cannot ever beat LR regarding this and so, just like the way that Excel and Word and Powerpoint all work together and everyone uses them, LR will inevitably become the de facto standard way of managing RAW images for pro photographers.
    Even with the few bugs (specifically file movingon Mac OS10.4.9) LR has shaved HOURS off our workflow. We shoot around 250 gigs of images a month in our weddings and event business. Now all of our editors use LR. No more Capture One etc for us.
    Here's the question - There seems to be no way to add leading zeros to a file rename command. So if you rename a batch of images they appear as 1,2,3,4,5,6,7,8,9,10,11,12 etc so now when I look at them in Bridge or other apps, they are now sorted 1,10,11, etc
    Now let me tell ya this is a pain.
    Any comments or comfort that is is a known issue would be appreciated. All we want is a way to have the rename add the leading zeros like most other apps do...
    Best to all
    William Henshall
    www.californiaweddingphotos.com
    PS By the way, I am a HARD *** about shoddy unstable software sold to pro photographers as the "prefect solution" that doesnt work as advertised...I am that guy that the tech support guys at certain companies dread. Yep, I simply expect an app to do what it says, just like the car I buy. I once resorted to sending the CEO of a certain software company an invoice for my time restarting, reinstalling the OS and bug finding another similar app. You can image, I got a personal call...heh...

    William-
    <br />
    <br />I just changed a folder of 85 images' names, and typed in 001 as my starting number. While no zeroes were prepended, the pix show up in order both in the Finder and in Bridge CS3.
    <br />
    <br />Say a bit more about file moving on your Macs.....
    <br />
    <br />
    <span style="color: rgb(102, 0, 204);">John "McPhotoman"</span>
    <font br="" /></font> color="#800000" size="2"&gt;~~ John McWilliams
    <br />
    <br />
    <br />
    <br />MacBookPro 2 Ghz Intel Core Duo, G-5 Dual 1.8;
    <br />Canon DSLRs

  • Weird file renaming permission issues

    Hi!
    We have a file rename permission issue. Here is the background:
    We created a 2008 R2 DFS namespace called UserData with Read/write share permissions for Administrators, Everyone and System. UserData has been granted NTFS permissions as follows:
    Everyone (This folder only): Traverse folder / Execute files, List folder / Read data, Read attributes, Create folders / Append data
    CREATOR OWNER (Subfolders and files only): Full control
    SYSTEM (This folder, subfolders and files): Full control
    Domain Admins (This folder, subfolders and files)
    We then enabled folder redirection for users My documents folder through GPO, setting the following:
    Setting: Basic - Redirect everyones folder to the same location
    Target folder: Create a folder for each user under the root path
    \\domain\UserData
    We also unchecked Grant the user exlusive rights to documents.
    So, now to the really weird behaviour. We logged on to a Windows 7 (x64) client computer with a user who gets this GPO settings and that is not local administrator on the client. The folder is redirected as expected and we can create, delete and write to
    files in anyway we want. We can also rename files if we choose an entirely different name and if we choose a longer or a shorter file name,
    but we cannot rename the file to something with the same letters but different casing.
    Examples of what will work:
    "test" to "testing"
    "test" to "cool"
    "test" to "COOL"
    Examples of what will NOT work:
    "test" to "Test"
    "test" to "tesT"
    "test" to "TEST"
    We the get this error: "File Access Denied. You need permission to perform this action. You require permission from S-1-5-21-220..... to make changes to this file."
    Eventhough I'm pretty sure the share and NTFS permissions of the share are correctly set we have of course checked all the permissions when logged in and the user has Full NTFS control and Read/Write Share permissions.
    We have encountered the same problem on a customer company as well, with a different domain with no links to our domain what so ever. I have also seen similar problems from other people when trying to find the answer on internet. Here is an example:
    http://social.technet.microsoft.com/Forums/en/w7itprosecurity/thread/35ced5bb-ab13-4e28-8c48-7c68ce0b775c
    Anyone have any thoughts?
    /Leyan

    Resent discoveries:
    If I log onto a Windows 7 (x86) Enterprise I face the same Issues.
    If the same user logs on to one of the DFS servers holding the namespace and accesses his folder we experience
    no problems renaming files.
    Customer company states that all is working fine when user logs on to a Windows XP with SP3.
    /Leyan

  • Use plug-in metadata for file renaming?

    Hi there,
    I'm writing a plug-in that adds a new export method to Lightroom and that defines some plug-in metadata fields.  I'd like the users to use these metadata fields to define their file renaming pattern in the export dialog. That means I'd like to create a token pattern from a plug-in metadata field.
    Is there a way to accomplish this?
    Regards,
    Robin

    I don't believe there's any way to incorporate plugin metadata fields directly into the builtin renaming patterns.   A couple of possibilities for alternate solutions:
    - Appropriate an existing metadata field that the renaming patterns know about (e.g. Description Writer) and have your plugin set that field with the desired custom metadata using photo:setRawMetadata(). 
    - Use or adapt the Exportant plugin, which provides greatly expanded file renaming possibilities.  The author Role Cole contributes here and is very helpful.

  • Adapter module for file renaming

    Hi all,
    I want to rename a file before writing into target directory. Is it possible to do this using adapter module? Im using File adapter at the sender and receiver.
    I tried renaming the file using DynamicConfiguration method.I want some custom constants to be added to the file name. I want to know if file renaming is possible by writing an Adapter module ..
    Thanks

    Rahul~
    Writing a module would be too much effort deploying and using..Instead u can use a dummy mapping to target and use a piece of Java code for transformation..
    chk my blog will save u effort..XSL may not be required in ur case
    /people/sriram.vasudevan3/blog/2005/11/21/effective-xsl-for-multimapping-getting-source-filenames-in-legacy-legacy-scenarios

  • LR 5.7.1 File Renaming start number field is missing

    Installed Lr CC 5.7.1 on a MacBook Air OS 10.10.2 - in the Lr import window in the File Renaming panel the Start Number field is missing and I can not add a start number to the files?  Any suggestions on what is causing this issue and how to repair this Start Number field omission?

    Sounds like you are looking for the "sequence" field. The "original file number" is also a good one to use.

  • Why is moving between folders glacial, while file renaming instantaneous?

    Any ideas as to why moving images between folders are glacial (1-2 per second), while file renaming instantaneous?
    Both do the similar operations to the file system, both need to update the SQLite entry for the file, but orders of magnitude between their performance? This on a recent Macbook Pro, running "all" Lr versions including 4.1beta with the catalog (120' images) on a SSD, while the images are stored on a FW800-attached disk.

    IIRC, there have been reports that this problem can be avoided (more or less) by not having the Grid shown during the move (due to LR not trying to update the Grid).
    Beat

Maybe you are looking for

  • I/C Mismatch Report Format

    I am new to creating/ modifying intercompany reports in HFM and am trying to fix a formatting issue that is annoying many of our users. On the mismatch report the interco balance is shown on two lines. So for example the first line might be entity E1

  • Calling function in NEW TASK

    Hi, I am creating a program which calls a function, becuse the function gets list of 2000 employess and run for long time over the amount of employees i wrote "call function zxxxxx starting new task p_task_number...." My question is - how many tasks

  • Service for delete local files in Business Connector

    I have used the "get" service for copy the files in the Business connector, does anybody know if there is any service for delete local files, i have seen the service for delete remote files with ftp, but i don´t know how to delete the copied files in

  • Installing Win7 in bootcamp on Maverick stalled at Keyboard  type

    Ive  just  bought win7 64 bit  cos  my NEW iMac  wouldnt  install the 32 bit  version  and during the installation, windows sticks at select  keyboard type.. no Mouse action at all nor  does KB  allow input. Ive gone back and used an older  mouse tha

  • Accessing business view manager

    Hi, I have installed Crystal reports 2013 and SAP BO 4.1 client tools. But still unable to connect to business view manager as I need to setup CMS for business objects. How do I configure that as I am not accessing any sever, its a local machine. And