Thursday 22 December 2016

生命的每一天

*好喜歡這段話,大家分享:*
        再過若干年,我們都將離去,對這個世界來說,我們徹底變成了虛無飄渺!
我們奮鬥一生,帶不走一草一木;
我們執著一生,帶不走一分虛榮。
今生,無論貴賤貧富,總有一天要走到這最後一步。到了天國,霍然回首,我們的這一生,形同虛度!
所以,從現在起,我們要用心生活,天天開心快樂就好。
三千繁華,彈指剎那,百年之後,不過一捧黃沙!
請善待每個人,因為沒有下輩子。一輩子真的好短,有多少人說好要過一輩子,可走著走著就剩下了曾經.....
又有多少人說好要做一輩子的朋友,可轉身就成為最熟悉的陌路人......
有的明明說好明天見,可一覺醒來就是天各一方......
所以,趁我們都還活著,有愛時就認真的愛,能擁抱時就擁入懷,能牽手時就不放開,能玩的時候玩,能吃的時候吃!
好好珍惜身邊的人,不要做翻臉比翻書還快的人。
互相理解才是真正的感情,不要給你的人生留下太多的遺憾!
再好的緣份也經不起敷衍,再深的感情也需要珍惜。
沒有絕對的傻瓜,只有願為你裝傻的人。
原諒你的人,原因是他不願失去你。
真誠才能永相守,珍惜才配長擁有。
有利時,要讓人;有理時,要饒人;有能時,不要嘲笑人!
太精明遭人厭;太挑剔遭人嫌;太驕傲遭人棄!
人在世間走,本是一場空,不必處處計較,寸步不讓。
話多了傷人,恨多了傷神,與其傷人又傷神,不如不煩神!
一輩子就圖個無愧於心,悠然自在。
世間的理爭不完,爭贏了失人心;
世上的利賺不盡,差不多就行。
財聚人散,財散人聚。
心幸福,日子才輕鬆;人自在,一生才值得!
想的太多,容易煩惱;
在乎太多,容易困擾;
追求太多,容易累倒。
好好珍惜身邊的人!
好好感受生活的快樂,因為它轉瞬就即逝 !
好好體會生命的每一天,因為它只有今生,沒有來世!
獻給你們!..

Monday 19 December 2016

感恩節

今天是感恩節,在此感恩所有付出的人 !
1⃣天地呵護之恩
人在天地之間,衣食取天地之精華,享日月之靈光,健壯成長,享度一生。 應報天地之恩,愛護環境。
2⃣父母養育之恩
十月懷胎,一朝分娩,精心餵養,嘔心瀝血,養育成人。 兒行千里母擔憂,冷暖成敗均在父母惦記之中。 父母大恩終身當報。
3⃣良師培養之恩
一個人所受教育,教師的作用是巨大的,如遇良師導引,終身受益,當銜環相報。
4⃣貴人提攜之恩
人的一生,如果能遇到賞識自己並給自己機會的貴人,將會少奮鬥很多年的。 貴人之恩,沒齒不忘。
5⃣智者指點之恩
在關鍵時予以指點,讓你或者茅塞頓,懸崖勒馬免入歧途,指點迷津之恩當加倍相報。
6⃣危難救急之恩
人生在世,難免有些磕磕碰碰,遭遇急難之事、身處於絕境之時,友人或路人在危難之時顯身手,出錢出力,使己絕處逢生,此恩莫大善焉。
7⃣綠葉烘托之恩
人的一生,多少會有幾次獨當一面的機會,當你成為紅花時,不要忘記身邊和身後的那些綠葉的烘托之恩。
8⃣夫妻體貼之恩
每個成功人士,都離不了另一半的支援奉獻。 夫妻共同經營家庭,生兒育女,贍老哺幼,同苦共甘, 一日夫妻還百日恩。
9⃣兄弟手足之恩
兄弟如手足,同是父母的血脈同一個根。 兄弟情深,手足之恩。
知己相知之恩
紅塵滾滾多煩憂,茫茫人海中,如果有一位或幾位知己分享你的幸福,分擔你的痛苦,一定要心懷感恩,倍加珍惜。

Sunday 11 December 2016

笑一笑


********************************
 
媽媽說:你看你房間跟豬窩一 樣亂,還不趕快打掃……
兒子回答:妳有看過豬會打掃 的嗎?不都是養豬的在打掃……
媽媽-﹏-
********************************
 
“爸爸,我們學校成立了一個 樂隊,我想去參加,學校還說樂器要自己帶。”
父親盯了兒子半天,遞過一根 筷子:“孩子,我們家窮,你能不能爭取去當指揮?” 
********************************
 
大學時候在宿舍裡,一個同學 拿著鏡子照自己半天突然說:我好帥啊!
另一個答道:媽的!!
你這種人也太狠了,連自己都騙。
********************************
 
幼兒園今天上午開運動大會。每隊用普通話喊口號

小一班出場時喊口號:
小一、小一、勇爭第一。
小二班出場時喊口號:
小二、小二、獨一無二。
換小三班出場喊口號:
小三、小三、我爸爸喜歡。
~全場笑翻 
*******************************
 
八戒到韓國整容變成帥哥。
到舞廳泡妞…激情過後,八戒 問美女:“知道以前我有多醜嗎?我是豬八戒!”
美女大驚:“二師兄,
我是老沙!我去了泰國……” 
*******************************
試下笑一笑

Monday 5 December 2016

週記

以下是一個高一孩子的週記,但這還不算什麼,更絶的是班主任,家長的回覆。
學生週記:語文是朕的皇后,雖然朕幾乎從來不翻她的牌子,可她的地位依然是那麼的穩固,英語是朕的華妃,朕其實並不真正愛她,只是因為外戚的緣故總要給她家幾分面子,數學是朕的嬛嬛,那年杏花微雨,也許一開始就是錯的,體育是朕的純元皇后,那才是心中的摯愛,至於政治,歷史,地理,生物這些卑微的官女子,朕理都懶得理她,到底是誰讓她們入宮的!
          班主任的回覆:老奴三年來戰戰兢兢、夜不思寐,只為聖上即日面對高考來襲時不至於措手不及,失了往日威風。皇后乃是一宮之主,雖說自幼便與皇上相識,仍需日日沾顧,不可與之疏遠;華妃雖是外戚,但時下舉國內外以華妃為尊,請聖上務必思忖為善;甄妃敏鋭聰穎,若能日日眷顧必能助聖上一臂之力;政治,歷史,地理,生物這幾位貴妃貴人,聖上更需雨露均霑,高考一戰,須靠得這幾位主子出力…至於純元皇后,請聖上聽老奴一言,斯人已矣,留於心中有個念想即可~~
        母親回覆:汝若繼續沉迷追劇穿越宮鬥,動搖安身立命之分數,休怪母后斷爾wifi,毀爾app,追生二胎,動爾儲位!

Friday 11 November 2016

對話

打完球,几个老板洗完澡后更衣,长凳上一手机响了许久,终有一老板按了免提键接听,更衣室随即安静下来。
男:喂!
女:亲爱的,打完球了吗?
男:打完了,有事吗?
女:我在商场看到一件很漂亮的裘皮大衣,8万8,能买吗?
男:如果你真的很喜欢,就买吧!
女:之前我到保时捷专卖店去逛了逛,看到有款跑车是今年最新款,我也特喜欢。
男:多少钱?
女:168万!
男:如果是高配、包齐所有附件的话,这个价值得买,拿下吧。
女:太棒了!还有一件事,去年我看中的那房子又放盘了,开价680万。
男:还价650万试试吧!说不定可以拿下来,如果不行就给它加10万,那房子确实值。
女:好的,亲爱的,我太爱你了,待会儿见!
男:乖!宝贝,我也爱你!
更衣室的人个个都对如此大气的男人敬佩得五体投地。
男人挂了电话,转身看着大家,问:这是谁的手机?


Tuesday 8 November 2016

母親節

A very cute Mother's Day message --
誠意送上餐譜之烹調秘笈'
這是二千年前的秘方,你們能否學懂,'煮出味道?
1. 炒大鑊時,可用豆角,但大忌用《口角》火上加油去《吵》,否則會煮到傑橽橽
2. 煲湯切勿落《腰心》和《腰肺》,味道會變得苦澀
3. 午餐忌煮《日鵝》,晚餐忌煮《夜鵝》,日哦夜哦,睬你都傻。
4. 愛侣宜多吃含豐富《坦白質》食物。
5. 食物宜用《溫油》,忌醋味太濃。
6. 老人家的餸菜,宜多用《孝蔘》
和《關蔘》長年累月烹調
7. 飯後可吃點湯丸,除了紅豆蓉、芝麻蓉外,更可用《包容》作餡料,絕對是潤而不噪,甜而不漏的好甜品
8:  要煮得出色, 我們要懂得調教味道,兩個調教味方法不可少: 《不計較》和《不比較》。
人世間最幸福的味道,莫過於在每一餐飯後,懂得欣賞一場付出畢生心血和汗水的舞蹈
並由心感恩,送上熱烈的掌聲
。
這個舞蹈的名稱,叫《慈舞》。
祝各位母親節快樂!☺

Monday 24 October 2016

不生氣口訣

*不生氣口訣,一定要背熟*
孩子惹你生氣的時候, 請靜下心來默唸: 親生嘅!親生嘅!親生嘅! 似我!似我!似我!
另一半惹你生氣的時候, 請靜下心來默唸: 我揀嘅!我揀嘅!我揀嘅! 抵死!抵死!抵死!
兄弟姊妹惹你生氣的時候, 請靜下心來默唸: 無得揀!無得揀!無得揀! 無奈!無奈!無奈!
朋友惹你生氣的時候, 請靜下心來默唸: 我交的!我交的!我交的! 眼盲!眼盲!眼盲!
工作惹你生氣的時候, 請靜下心來默唸: 有糧出!有糧出!有糧出! 忍住!忍住!忍住!
 *給大家笑一笑*  好正

Wednesday 19 October 2016

三樣東西

 
 三樣東西一去不復返
時間
生命
青春   
 三樣東西毁掉一個人
脾氣
傲氣
小氣
 三樣東西永不放棄
童真
理想
希望
 三樣東西最無價
爱情
善良
友誼 
 三樣東西最無常
成功✌
財富
夢想☁
 三樣東西成就人
天時☀
地利
人和  
 三樣東西要珍惜
父母 
孩子
眼前人 
三 樣東西做事情
目標
方法
改善
 三樣東西交朋友
誠信✨
奉献
無私
 三樣東西把握好
機會✳
人生
婚姻
 三樣東西得到快樂
知足常樂
助人為樂
自得其樂
  祝願大家平安喜樂
 好好活,不要攀,不要比,不要自己氣自己,
 父是天,母是地,盡孝父母要牢記,夫妻愛,子女孝,家和比啥都重要,
 行點善,積點德,多做善事多積德,官再大,錢再多,死神照樣土里拖。

Saturday 8 October 2016

Ratan Tata's Lecture

Nice line from Ratan Tata's Lecture- in London
1.
Don't educate
your children
to be rich.
Educate them
to be Happy.
So when
they grow up
they will know
the value of things
not the price
2.
"Eat your food
as your medicines.
Otherwise
you have to
eat medicines
as your food"
3.
The One
who loves you
will never leave you
because
even if there are
100 reasons
to give up
he will find
one reason
to hold on
4.
There is
a lot of difference
between
human being
and being human.
A Few understand it.
5.
You are loved
when you are born.
You will be loved
when you die.
In between
You have to manage...!
If u want to Walk Fast,
Walk Alone..!
But
if u want to Walk Far,
Walk Together..!!
Six Best Doctors in the World-
          1.Sunlight
              2.Rest
          3.Exercise
             4.Diet
   5.Self Confidence
                   &
          6.Friends
Maintain them in all stages of Life and enjoy healthy life
If   you   see   the   moon ..... You   see    the    beauty    of    God .....   If    you   see    the   Sun ..... You   see    the    power   of    God .....   And ....    If   you   see   the   Mirror ..... You   see     the    best    Creation of   GOD .... So    Believe   in     YOURSELF..... :) :) :).
We all are tourists & God is our travel agent who
already fixed all our Routes Reservations & Destinations
So!
Trust him & Enjoy the "Trip" called LIFE...

send to all people who are important to you...
I just did.

Wednesday 5 October 2016

笑一笑

開心一笑...
大家笑一笑!
小雞問母雞:為甚麼人類都有名字,而我們全都叫做雞?
母雞回答:人類活着的時候都有名字,但死了就全都叫做鬼了。我們活着的時候没有名字,但死後就有很多名字了!
小雞說:真的嗎,都叫些甚麽名字呢?
母雞說:有 燒雞,咖喱雞、白切雞、香菇燜雞、炸子雞、豉油雞、手撕雞、 口水雞、啫啫雞、鹽焗雞…

Friday 23 September 2016

笑話

笑話一則
有位建築公司的大老闆香咗, 到地府報到, 閻王問他:
"你希望上天堂, 還是下地獄?"
地產商說:"我可以先參觀嗎?"
閻王:"當然可以".
"這樣吧!第一天讓你參觀天堂, 第二天再參觀地獄, 第三天我再問你希望上天堂還是下地獄."
終於到了第三天, 閻王問地產商:"你決定如何?"
地產商:"天堂真的很美, 但是人很少, 很冷清.
"地獄不但人多, 而且我還看到好多同行的朋友, 都在—起唱歌、喝酒、聊天, 還有辣妹陪侍, 所以我決定到地獄去."
結果, 地產商立即就分配到地獄, 但他一報到立刻被執行上刀山.  下油鍋的酷刑.
地產商受刑後, 飽受委屈,向閻王申訴:"為什麼我參觀地獄時所見的場景與事實完全不一樣?"
閻王:"虧你自己是發展商.."
"你參觀的是"示範單位"

Wednesday 7 September 2016

德蘭修女語錄

「忙於批判人,就沒閒工夫去愛人。」

「我發現了一個矛盾現象:愛到會痛,就再無痛楚,只有更多愛。」

「和平始於微笑。」

「消除對愛的渴求,遠比消除對麵包的渴望困難。」

「無法餵飽100人,那就餵飽1個人吧。」

「貧苦大眾都很了不起,可以教會我們許多美麗的事。」

「別以為真愛必須超乎尋常。我們需要的是不倦的愛。」

「現在的人似乎都非常趕時間,急於爭取更大發展、更多財富,諸如此類,以至小朋友沒有時間給父母、父母沒時間給對方。如此家庭,是世界紛亂之源。」

「做不了大事,就用大愛去做小事。」

「愛遠方的人很容易,愛身邊的人卻未必。給飢餓的人送上飯,比起消除家人的寂寞和痛苦容易得多。要將愛帶進家中,因為愛必須始於家。」

Tuesday 16 August 2016

Car crash

A woman ran a red traffic light and crashed into a man's car.  Both of their cars were badly damaged, but amazingly neither of them were found hurt. 
After they crawled out of their cars, the woman said; "Wow, just look at our cars!  There's nothing left, but fortunately we are unhurt.  This must be a sign from God that we should meet and be friends and live together in peace for the rest of our days."
The man replied, "I agree with you completely.  This must be a sign from God!"
The woman continued, "And look at this, here's another miracle.  My car is completely demolished, but my bottle of 75 year old scotch didn't break.  Surely God meant for us to drink this vintage delicacy and celebrate our good fortune."
Then she handed the bottle to the man. The man nods his head in agreement, opened it, drank half the bottle and then handed it back to the woman. The woman took the bottle, immediately put the cap back on, and handed it back to the man. The man asks, "Aren't you having any?" She replies, "Nah, I think I'll just wait for the police." 


*Adam ate the apple too! Men will never learn* 

Monday 15 August 2016

太晚睡覺等於自殺

太晚睡覺等於自殺,轉給你愛的人

任何試圖更改生物鐘的行為,都將給身體留下莫名其妙的疾病,20、30年之後再後悔,已經來不及了。

一、晚上9-11點為免疫系統(淋巴)排毒時間,此段時間應安靜或聽音樂。
二、晚間11-凌晨1點,肝的排毒,需在熟睡中進行。
三、凌晨1-3點,膽的排毒,亦同。
四、凌晨3-5點,肺的排毒。此即為何咳嗽的人在這段時間咳得最劇烈,因排毒動作已走到肺,不應Medicine,以免抑制廢積物的排除。
五、凌晨5-7點,大腸的排毒,應上廁所排便。

六、凌晨7-9點,小腸大量吸收營養的時段,應吃早餐。療病者最好早吃,在6點半前,養生者在7點半前,不吃早餐者應改變習慣,即使拖到9、10點吃都比不吃好。
七、半夜至凌晨4點為脊椎造血時段,必須熟睡,不宜熬夜。

1︰00 人體進入淺睡階段,易醒。此時頭腦較清楚,熬夜者想睡反而睡不著。
2︰00 絕大多數器官處於一天中工作最慢的狀態,肝臟卻在緊張工作,生血氣為人體排毒。
3︰00 進入深度睡眠階段,肌肉完全放鬆。
4︰00 「黎明前的黑暗」時刻,老年人最易發生意外。血壓處於一天中最低值,糖尿病病人易出現低血糖,心腦血管患者易發生心梗等。
5︰00 陽氣逐漸昇華,精神狀態飽滿。

6︰00 血壓開始升高,心跳逐漸加快。高血壓患者得吃降壓藥了。
7︰00 人體免疫力最強。吃完早飯,營養逐漸被人體吸收。
8︰00 各項生理激素分泌旺盛,開始進入工作狀態。
9︰00 適合打針、手術、做體檢等。此時人體氣血活躍,大腦皮層興奮,痛感降低。
10︰00 工作效率最高。
10︰00-11︰00屬於人體的第一個黃金時段。心臟充分發揮其功能,精力充沛,不會感到疲勞。

12︰00 緊張工作一上午後,需要休息。
12︰00-13︰00是最佳"子午覺"時間。不宜疲勞作戰,最好躺著休息半小時至一小時。
14︰00 反應遲鈍。易有昏昏欲睡之感,人體應激能力降低。
15︰00 午飯營養吸收後逐漸被輸送到全身,工作能力開始恢復。
15︰00-17︰00為人體第二個黃金時段。最適宜開會、公關、接待重要客人。
16︰00 血糖開始升高,有虛火者此時表現明顯。陽虛、肺結核等患者的臉部最紅。
17︰00 工作效率達到午後時間的最高值,也適宜進行體育鍛煉。
18︰00 人體敏感度下降,痛覺隨之再度降低。
19︰00 最易發生爭吵。此時是人體血壓波動的晚高峰,人們的情緒最不穩定。
20︰00 人體進入第三個黃金階段。記憶力最強,大腦反應異常迅速。
20︰00-21︰00適合做作業、閱讀、創作、鍛煉等。
22︰00 適合梳洗。呼吸開始減慢,體溫逐漸下降。最好在十點半泡腳後上床,能很快入睡。
23︰00 陽氣微弱,人體功能下降,開始逐漸進入深度睡眠,一天的疲勞開始緩解。
24︰00 氣血處於一天中的最低值,除了休息,不宜進行任何活動。

Sunday 14 August 2016

Wedding Anniversary 結婚紀念日

This is about the wedding anniversary and how we describe them according to the number of years of the marriage.


1  Paper
2  Cotton
3  Leather
4  Silk
5  Wood
6  Iron
7  Bronze
8  Electric
9  Ceramic
10 Tin
11 Steel
12 Linen
13 Lace
14 Ivory



這是關於結婚紀念日,以及我們如何根據多少年婚姻的數量描述它們。


1紙張
2棉花
3皮革
4絲綢
5
6
7銅牌
8電氣
9陶瓷
10
11
12亞麻
13花邊
14象牙

Sunday 7 August 2016

天然食材就是藥

天然食材就是藥!
竟然就藏在我們生活周遭?

1.天然補腎藥-山藥
2.天然安眠藥-香蕉
3.天然皮膚藥-甘菊
4.天然感冒藥-檸檬
5.天然胃藥-高麗菜
6.天然止痛藥-生薑
7.天然降壓藥-芹菜
8.天然降脂藥-山楂
9.天然降糖藥-肉桂
10.天然消炎藥-蜂蜜
11.天然瀉藥-梅乾
12.天然維生素-草莓
13.天然抗衰老藥-葡萄
14.天然重金屬解毒藥-火龍果
15.天然抗癌藥-大蒜
16.天然消水腫藥-薏仁水
17.天然美白藥-白蘿蔔
18.天然助消化藥-鳳梨
19.天然潤肺藥-銀耳
20.天然提神抗疲勞藥-柳丁汁

請快把這健康資訊轉寄給身邊的家人朋友們吧!

Saturday 30 July 2016

Windows 10 Robocopy

Do you know the latest version of Robocopy ?
If you are using Windows 10, you have already got it.
If your windows directory path is on C:, look at below path:
C:\Windows\System32
You will find the file --> Robocopy.exe, the version is 10.0.10586.0



If you use it before or in previous version you will love it.
It is goof to copy files in batch, use it to backup from drive to drive, path to path, it works on UNC path as well as DFS path. the source and destination can be defined by you as long as these paths are accessible with the correct permissions. Below is just an example how I use it to backup my local data drive (here is G:\) to a network drive folder  (X:\myfolder)


robocopy  G:\ X:\myfolder /dcopy:t /copyall /mt:32 /mir /NP /ZB /R:1 /W:3 /XD recycled "system volume information" /unilog:G2X.log


I add all the relevant options to suit my need, you can do the same. Below list the explanation of the available options. You can even make it as a batch file and schedule it to run everyday at specific time when you are off work.
-------------------------------------------------------------------------------
   ROBOCOPY     ::     Robust File Copy for Windows
-------------------------------------------------------------------------------

  Started : 30 July 2016 06:39:PM
              Usage :: ROBOCOPY source destination [file [file]...] [options]

             source :: Source Directory (drive:\path or \\server\share\path).
        destination :: Destination Dir  (drive:\path or
\\server\share\path).
               file :: File(s) to copy  (names/wildcards: default is "*.*").

::
:: Copy options :
::
                 /S :: copy Subdirectories, but not empty ones.
                 /E :: copy subdirectories, including Empty ones.
             /LEV:n :: only copy the top n LEVels of the source directory tree.

                 /Z :: copy files in restartable mode.
                 /B :: copy files in Backup mode.
                /ZB :: use restartable mode; if access denied use Backup mode.
                 /J :: copy using unbuffered I/O (recommended for large files).
            /EFSRAW :: copy all encrypted files in EFS RAW mode.

  /COPY:copyflag[s] :: what to COPY for files (default is /COPY:DAT).
                       (copyflags : D=Data, A=Attributes, T=Timestamps).
                       (S=Security=NTFS ACLs, O=Owner info, U=aUditing info).


               /SEC :: copy files with SECurity (equivalent to /COPY:DATS).
           /COPYALL :: COPY ALL file info (equivalent to /COPY:DATSOU).
            /NOCOPY :: COPY NO file info (useful with /PURGE).
            /SECFIX :: FIX file SECurity on all files, even skipped files.
            /TIMFIX :: FIX file TIMes on all files, even skipped files.

             /PURGE :: delete dest files/dirs that no longer exist in source.
               /MIR :: MIRror a directory tree (equivalent to /E plus /PURGE).

               /MOV :: MOVe files (delete from source after copying).
              /MOVE :: MOVE files AND dirs (delete from source after copying).

     /A+:[RASHCNET] :: add the given Attributes to copied files.
     /A-:[RASHCNET] :: remove the given Attributes from copied files.

            /CREATE :: CREATE directory tree and zero-length files only.
               /FAT :: create destination files using 8.3 FAT file names only.
               /256 :: turn off very long path (> 256 characters) support.

             /MON:n :: MONitor source; run again when more than n changes seen.
             /MOT:m :: MOnitor source; run again in m minutes Time, if changed.

      /RH:hhmm-hhmm :: Run Hours - times when new copies may be started.
                /PF :: check run hours on a Per File (not per pass) basis.

             /IPG:n :: Inter-Packet Gap (ms), to free bandwidth on slow lines.
                /SL :: copy symbolic links versus the target.
            /MT[:n] :: Do multi-threaded copies with n threads (default 8).
                       n must be at least 1 and not greater than 128.
                       This option is incompatible with the /IPG and /EFSRAW options
                       Redirect output using /LOG option for better performance.

 /DCOPY:copyflag[s] :: what to COPY for directories (default is /DCOPY:DA).
                       (copyflags : D=Data, A=Attributes, T=Timestamps).

           /NODCOPY :: COPY NO directory info (by default /DCOPY:DA is done).
         /NOOFFLOAD :: copy files without using the Windows Copy Offload mechanism.
::
:: File Selection Options :
::
                 /A :: copy only files with the Archive attribute set.
                 /M :: copy only files with the Archive attribute and reset it.
    /IA:[RASHCNETO] :: Include only files with any of the given Attributes set.
    /XA:[RASHCNETO] :: eXclude files with any of the given Attributes set.

 /XF file [file]... :: eXclude Files matching given names/paths/wildcards.
 /XD dirs [dirs]... :: eXclude Directories matching given names/paths.

                /XC :: eXclude Changed files.
                /XN :: eXclude Newer files.
                /XO :: eXclude Older files.
                /XX :: eXclude eXtra files and directories.
                /XL :: eXclude Lonely files and directories.
                /IS :: Include Same files.
                /IT :: Include Tweaked files.

             /MAX:n :: MAXimum file size - exclude files bigger than n bytes.
             /MIN:n :: MINimum file size - exclude files smaller than n bytes.

          /MAXAGE:n :: MAXimum file AGE - exclude files older than n days/date.
          /MINAGE:n :: MINimum file AGE - exclude files newer than n days/date.
          /MAXLAD:n :: MAXimum Last Access Date - exclude files unused since n.
          /MINLAD:n :: MINimum Last Access Date - exclude files used since n.
                       (If n < 1900 then n = n days, else n = YYYYMMDD date).

                /XJ :: eXclude Junction points. (normally included by default).
               /FFT :: assume FAT File Times (2-second granularity).
               /DST :: compensate for one-hour DST time differences.

               /XJD :: eXclude Junction points for Directories.
               /XJF :: eXclude Junction points for Files.

::
:: Retry Options :
::
               /R:n :: number of Retries on failed copies: default 1 million.
               /W:n :: Wait time between retries: default is 30 seconds.

               /REG :: Save /R:n and /W:n in the Registry as default settings.
               /TBD :: wait for sharenames To Be Defined (retry error 67).
::
:: Logging Options :
::
                 /L :: List only - don't copy, timestamp or delete any files.
                 /X :: report all eXtra files, not just those selected.
                 /V :: produce Verbose output, showing skipped files.
                /TS :: include source file Time Stamps in the output.
                /FP :: include Full Pathname of files in the output.
             /BYTES :: Print sizes as bytes.

                /NS :: No Size - don't log file sizes.
                /NC :: No Class - don't log file classes.
               /NFL :: No File List - don't log file names.
               /NDL :: No Directory List - don't log directory names.

                /NP :: No Progress - don't display percentage copied.
               /ETA :: show Estimated Time of Arrival of copied files.

          /LOG:file :: output status to LOG file (overwrite existing log).
         /LOG+:file :: output status to LOG file (append to existing log).

       /UNILOG:file :: output status to LOG file as UNICODE (overwrite existing log)
      /UNILOG+:file :: output status to LOG file as UNICODE (append to existing log)

               /TEE :: output to console window, as well as the log file.
               /NJH :: No Job Header.
               /NJS :: No Job Summary.

           /UNICODE :: output status as UNICODE.
::
:: Job Options :
::
       /JOB:jobname :: take parameters from the named JOB file.
      /SAVE:jobname :: SAVE parameters to the named job file
              /QUIT :: QUIT after processing command line (to view parameters).
              /NOSD :: NO Source Directory is specified.
              /NODD :: NO Destination Directory is specified.
                /IF :: Include the following Files.

::
:: Remarks :
::
       Using /PURGE or /MIR on the root directory of the volume will
       cause robocopy to apply the requested operation on files inside
       the System Volume Information directory as well. If this is not
       intended then the /XD switch may be used to instruct robocopy
       to skip that directory.



Wednesday 27 July 2016

Allergy and Allergens

I saw this advertisement in the Tube and I captured it.
No intention to infringe any copyright, just impressed with the way it describes the problem we face everyday.
I am not helping them to advertise their product, but the photo and annotation of the advertisement does have an insight to our day to day allergy causes.
It is not easy to read all characters from the picture, these allergens are;
  • Sunflower pollen
  • Houseflies
  • Insecticides
  • Pollen
  • Bee stings
  • Deodorants
  • Cosmetics
  • Insecticide
  • Hire dye
  • Mosquito bites
  • Acrylic glue
  • Moisturizer
  • Milk
  • Costume Jewellery
  • Dry cleaning chemicals
  • Latex
  • Rubber
  • Rats
  • Meat
  • Ants
  • Mice
  • Paint dye
  • Hearing aid
  • face paint
  • Wasp stings
  • Chewing gum
  • Newspaper
  • Avocados
  • Kiwi fruit
  • Grass pollen
  • Apple
  • Nail varnish
  • Leathers
  • Marrows
  • Cabbages
  • Lemons
  • Carrots
  • Perfume
  • Gold
  • Artificial fingernails
  • Vegetables
  • Glue
  • Saliva
  • Sandflies
  • Pen ink
  • Spices
  • Sweat
  • Adhesive tapes
  • Cats
  • Mould spores








Monday 25 July 2016

Windows 10 Startup folder

As we know, the Startup folder contains all shortcuts to programs that will run automatically when you start up Windows.
In Windows 10, this has changed slightly which you cannot find the Startup folder from the start menu, you have 2 ways to do the same:

Method 1  

- find the Startup folder and put your shortcuts and batch file in below:

C:\Users\%username%\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup

Method 2 

- run from shell command:
hold down the Windows key, and type R
you will see below screen, then type shell:startup
click OK


 

then you will be going to exact same folder patch like methos 1 above

The above is showing the personal startup folder, this is per profile basis (i.e. per user login). If  you are administrator and wants to run the program for ALL USERS when windows startup. Again similar ways to do:

Method 1  
- find the Startup folder and put your shortcuts and batch file in below:

C:\ProgramData\Microsoft\Windows\Start Menu\Programs\StartUp

Method 2 

- run from shell command:
hold down the Windows key, and type R
you will see below screen, then type shell:common startup
click OK




Friday 22 July 2016

Windows 10 Backup

When you have used Windows 10 for a while, you should consider backup you system (as well as your files).

Prepare for your backup:
  1. ensure you have a second hard disk (it can be a USB external hard drive) and the size must be bigger than you system drive (normally the C:\)
  2. if you have a lot of data store in the same drive C:\, this procedure will also back them up together with the system files because it basically backs up everthying under C:\ (including your personal folders, musics, movies, photos, albums ... etc)
  3. if you want to speed up the backup time, it's a good practise to run a clean-up of your C:\ before running the backup so that all temp files and files in recycle bin are cleared unless you want to keep them
Backup Steps:
  1. Goto Control Panel  (right click the window start icon at the bottom left corner and select Control Panel)
  2. select and click "File History"
  3. from the File History dialog box, select and click "System Image Backup" in the lower left corner, a new window pops-up
  4. from the Backup and Restore (Windows 7) dialog box (yes, it shows "Windows 7"), click "Create a system image", a new window pops-up
  5. it will search whether you have a second hard disk, if yes the drive letter will be showed under the first option "On a hard disk"
  6. this is the recommended backup option because the other 2 options will write the backup to DVD or via network which normally takes longer time to complete
  7. Click the drop down menu and select the drive you wnat backup to
  8. Click the next button
  9. in the new dialog box, it asks you to confirm your backup settings, it will tell you the backup location, how much space will be used for this backup and also what drive(s) will be backed up
  10. If you agree with the settings, simply click the "Start backup" button

It  might take an hour or a few hours depends on the size and speed of your PC and hard drive. When the backup is completed, you wil be prompted if you want a "System Repair Disc", it is a good practise to do this too.


Put a blank CD to you DVD drive and proceed to create a System Repair Disc


Then you are done.


Monday 18 July 2016

Windows 10 Internet Explorer 11 command options



Below are examples of command line options tested in Windows 10 when we start Internet Explorer 11 via command prompt of within a batch file.

These are useful commands especially for specific usage or troubleshooting.



-extoff

This will start Internet Explorer in No Add-Ons mode, you can use this to troubleshoot problems when running different browser add-ons.

e.g.
C:\>start iexplore -extoff "google.com"

-private
This will start Internet Explorer with InPrivate Browsing set to active.
e.g.
C:\>start iexplore -private "google.com"

‑nosessionmerging
Prevents Internet Explorer from merging tab processes and thus sharing session cookies across tabs. Even if you have the –framemerging feature turned on (which it is by default), specifying this option will isolate your tabs into separate processes and prevent session sharing, even if those tabs are associated with the same frame process. You can also set this option via registry key:
HKEY_CURRENT_USER
   SOFTWARE
      Microsoft
         Internet Explorer
            Main
               SessionMerging
                  (DWORD) 00000000
e.g.
C:\>start iexplore -nosessionmerging "google.com"

‑sessionmerging
This enables Internet Explorer to opportunistically merge new tab processes into existing tab processes within a merged frame process. By default, this setting is turned on. However, if you set the SessionMerging registry key to zero (thus disabling session merging), you can use this command line option to override that setting.

-k
This will start Internet Explorer in kiosk mode. The browser opens in a maximized window that does not display the address bar, the navigation buttons, or the status bar.
e.g.
H:\>start iexplore -k "google.com"