« first day    last day (20 days later) » 

5:36 AM
@barlop how to use cmd /u? i am actually simply double clicking a batch file which runs multiple batch files one after one, including this trim code one.
@barlop Do i have to add some parameter called /n while running this trim code batch. how to do it? something like trim.bat /u ?
 
 
6 hours later…
11:24 AM
@SuperUserMan The reason why I mentioned cmd /u was you said about foreign characters, and running cmd /u is meant to bring up a cmd prompt with unicode support
cmd /u is a command, you can run it once you have opened a cmd prompt. I haven't checked your updated q yet.
Now I checked your update, but you should update your question to include text that contains the non-english characters (I don't know where you got the idea of /n, and /u is not a parameter to a batch file)
There is such a thing as \n which isn't related to this that much, and as for /u, I said cmd /u. cmd is not a batch it's cmd.exe that's the program that brings up the command/cmd prompt!
 
 
4 hours later…
3:52 PM
@barlop Ok i have added non-english text line in main question. Please check.
@barlop Sorry i meant /u only . Dont know why i wrote /n. Yes i understand that cmd is the command prompt and /u will provide unicode support. But there is an issue . See i am running multiple commands say, removing @ from text (like i discussed in another question and you commented there too) in one batch file to edit a text file. it is for use by an end user.
@barlop That user simply opens a batch with all this command and a sample text file and batch automatically edits the file. I cant ask or its not feasible that i ask end user to first open prompt with /u command and then paste all the commands (too many commands are there) and thus process the sample text file.
@barlop I gotta have all this to be done by simply double clicking/executing a batch with commands. I am not able to find out how i make sure that when user double clicks a batch file it executes with /u parameter. Please help. I tried writing cmd /u inside the batch file at top but that simply opens another CMD window on running batch . Are you understanding my issue?
 
 
6 hours later…
9:34 PM
@SuperUserMan I can't get the chinese/japanese characters to display in cmd prompt..
I see a SU question that says change codepage.. stackoverflow.com/questions/388490/…
chcp 65001
but it doesn't seem to be showing me the chinese/japanese characters..
 
these characters are actually hindi (indian)
 
type a.txt when a.txt is saved as utf-8
ah ok..
I can't find anything on that at the moment
@SuperUserMan you could make a new question of it..
e.g. the command type a.txt doesn't seem to show it, not by default anyway.
one of the factors is the font..
another is is doing cmd /u
and another may be the codepage
though i'm not sure the codepage for hindi
the question doesn't need necessarily to be how to do the batch, though it could.. but how to display hindi would be a start
I recall there is a stackexchange site.. for hindus..
or hindi
hindi language..
got deleted from inactivity
you could try either another question here or on the dostips forum site.. making clear in the subject that it's for hindu characters in the command prompt
and you might be able to ping this guy superuser.com/users/4377/sathya
I don't know if he does batch but he's from india so may know how to get hindi letters at the command prompt
according to this link community.flexerasoftware.com/… "Hindi is a Unicode only language and has no ANSI code page." though that doesn't help!
 
10:21 PM
@barlop can the above link help? also is there any messaging system in superuser/stackexchange to message users?
 

« first day    last day (20 days later) »